Stable: 2.5.2
Development: 2.6-alpha3
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
jcf
Sat, 2013-01-19 23:33
Permalink
Missing A Shell, Perhaps?
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.
Suseika
Sun, 2013-01-20 00:11
Permalink
Not these lines, but I just
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.