Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

Troubleshooting • Re: mpc mpd needs restart after every reboot - fixed!

$
0
0
Just in case anyone else comes across this thread, the problem was actually timing. At boot mpd is started and the cron @reboot line fires as well, starting my code. It transpires that when my code ran mpd had not finished starting, so my code failed with 'Cannot connect to mpd'. A short delay starting my code fixed the problem. There is probably a more elegant solution but that fixed it for me.

Statistics: Posted by micksulley — Wed Dec 13, 2023 9:53 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles