mpgenplaylists: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/mpgenplaylists - from package: mpdtoys

You may install the required package with command apt-get install {package}
Error in other languages:
mpgenplaylists: bevel nie gevind nie
mpgenplaylists: comandă negăsită
mpgenplaylists: comando não encontrado
mpgenplaylists: commande introuvable
mpgenplaylists: command not found
mpgenplaylists: käsku ei ole
mpgenplaylists: không tìm thấy lệnh
mpgenplaylists: komanda nerasta
mpgenplaylists: Kommando nicht gefunden.
mpgenplaylists: kommandot finns inte
mpgenplaylists: komut yok
mpgenplaylists: nie znaleziono polecenia
mpgenplaylists: níor aimsíodh an t-ordú
mpgenplaylists: no se encontró la orden
mpgenplaylists: no s'ha trobat l'ordre
mpgenplaylists: opdracht niet gevonden
mpgenplaylists: parancs nem található
mpgenplaylists: perintah tidak ditemukan
mpgenplaylists: príkaz nenájdený
mpgenplaylists: příkaz nenalezen
mpgenplaylists: команда не найдена
mpgenplaylists: командата не е открита
mpgenplaylists: 命令找不到
mpgenplaylists: コマンドが見つかりません