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!