Page 1 of 1
Not saving playlist.
Posted: Sun Feb 28, 2010 12:52 pm
by Silent-Hunter
When I "mpc add" something, it gets erased when I turn the router off. How can I fix this?
Re: Not saving playlist.
Posted: Tue Mar 02, 2010 5:03 pm
by Silent-Hunter
Can no one help me?
Re: Not saving playlist.
Posted: Tue Mar 02, 2010 11:04 pm
by ilinux
For save and reload you have to do this
mpc add all stations
*Before save you have to delete pls or m3u file called webradio*
mpc save webradio
Now remove all mpd add to startup script and add mpc load webradio
Re: Not saving playlist.
Posted: Tue Mar 02, 2010 11:59 pm
by Silent-Hunter
I don't want the webradio to start on boot quite yet. I just want the router to keep the stations I enter into it.
Re: Not saving playlist.
Posted: Wed Mar 03, 2010 12:59 am
by Silent-Hunter
Also, how come when I use MPC and MPC on my laptop it saves the stations when I turn it off, but not on the router?
Re: Not saving playlist.
Posted: Wed Mar 03, 2010 2:31 pm
by ilinux
The commands above save and load from a file into router flash and not start at boot.
After mpc load webradio (or some other filename) you have to exec mpc play
Re: Not saving playlist.
Posted: Wed Mar 03, 2010 11:44 pm
by mightyohm
You need to edit /etc/mpd.conf and enable the state file support. I don't have the file handy, but the state file setting is towards the top. If you can't find it, post your mpd.conf here and I'll point it out.