OnSongChange and OnStop don't work

I am unable to execute any commands using OnSongStart or OnStop. The config works in general — for example, I choose output driver or create Exec commands with no issues. I tried using various commands with OnSongStart from echo 1 > /home/user/file to gksu halt — absolutely nothing works, so this is not the bad environment variables problem.

I am Using Debian Sid, mocp --version is

Version : 2.5.0-alpha4
Built : Feb 26 2012 16:00:51
Compiled with : OSS ALSA JACK DEBUG internet streams resample

Config file: http://pastebin.com/C6SBgj0p

I think the comment in lines 600 and 601 of the configuration file you link to answers your query. If not, get back to us.

Not these lines, but I just understood that «provide full path to command» means «even for commands in your $PATH». So I used absolute paths, now everything works perfectly. But thanks anyway.