Not saving playlist.
- Silent-Hunter
- Posts: 16
- Joined: Fri Feb 26, 2010 10:11 pm
Not saving playlist.
When I "mpc add" something, it gets erased when I turn the router off. How can I fix this?
- Silent-Hunter
- Posts: 16
- Joined: Fri Feb 26, 2010 10:11 pm
Re: Not saving playlist.
Can no one help me?
Re: Not saving playlist.
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
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
- Silent-Hunter
- Posts: 16
- Joined: Fri Feb 26, 2010 10:11 pm
Re: Not saving playlist.
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.
- Silent-Hunter
- Posts: 16
- Joined: Fri Feb 26, 2010 10:11 pm
Re: Not saving playlist.
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.
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
After mpc load webradio (or some other filename) you have to exec mpc play
Re: Not saving playlist.
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.
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com