How to fix mpdcron not sending information to last.fm

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 13 years ago)

Article tags: linux, mpdcron

Comments (1)

fussel55 to How to fix mpdcron not sending information to last.fm

Hi, thank You for this help.

over 6 years ago