Have been having problems (also with raspyfi) where the device hangs if you try to play a bad radio stream URL. This can happen with the BBC streams when they change.
Restarting mpd or rebooting doesn’t help. A little exploration and I found this file: /var/lib/mpd/state
Deleting the section after the colon, saving then restarting mpd will fix the problem. I guess you need some code that detects this particular cause of hanging. You can still ssh into the system and edit the file with nano, then restart mpd with sudo /etc/init.d/mpd restart which will fix the problem. Otherwise you are stuck.
There I find how to automate adding bbc stations.
I’d like to know how to fix hanging after clicking a bad radio station.
Sorry that I didn’t make myself clear.
I don’t need a complete guide how to fix that.
Just a pointer to get started since I don’t know the internals of volumio.
For example, is it an mpd problem, a web interface problem?
Re-up this thread.
also for me, when i turn off volumio by cutting power (with a song in play state) mpd refuse to work correctly on reboot due to the /var/lib/mpd/state file.
i need to :
rm /var/lib/mpd/state
service mpd restart
in order to bring back to life…
maybe is possible to introduce some kind of control on that file ?