Debug

Tips to debug problems with myMPD. Try these steps and reproduce the error.

myMPD logging

Start myMPD manually

Get logs from running myMPD

You can set the log level in the Maintenance dialog to debug and get the output from your logging service, for systemd it is: journalctl -fu mympd.

Webbrowser logging

MPD logging

Recording traffic between MPD and myMPD

Local socket connection

MPD is listening on /run/mpd/socket. Point myMPD to /run/mpd/socket-debug.

socat -t100 -v UNIX-LISTEN:/run/mpd/socket-debug,mode=777,reuseaddr,fork UNIX-CONNECT:/run/mpd/socket

TCP connection

MPD should listen on a tcp port.

tcpdump -nni any -vvv -s0 -x host <mpd host> and port <mpd port>

myMPD debug build