How to fix mpdcron not sending information to

After another system upgrade I realized that mpdcron daemon does not send out information to my scrobblers anymore. Running mpdcron from console with -n option gave me the reason why:

Failed to execute hook player: Failed to execute child process "hooks/player" (No such file or directory)

Having no time nor desire to mess with debugging the code I just copied hook files to my home directory and made them executable:

$ cp -r /usr/share/doc/mpdcron/conf/hooks ~/.mpdcron/
$ chmod +x ~/.mpdcron/hooks/*

That made it!

Published on May 16, 2011 (almost 9 years ago)

Article tags: linux, mpdcron

Comments (1)


over 2 years ago

Hi, thank You for this help.