root@OpenWrt:~# ls -l ~/.mpd/
-rw-r--r-- 1 root root 91 Jan 1 00:00 mpd.db
-rw------- 1 root root 90 Jan 1 00:13 mpd.error
-rw------- 1 root root 0 Jan 1 00:13 mpd.log
drwxr-xr-x 1 root root 0 Jan 1 00:04 playlists
cat: can't open '/root/.mpd/mpdstate': No such file or directory
Does MightyOhm's radio remember the last station?
Re: Does MightyOhm's radio remember the last station?
I bet mpd never has a chance to create the state file when you shut down. If you enable the pid file in mpd.conf and execute mpd --kill, then start mpd again, I bet it will resume playing (and mpdstate will actually be created).
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com
Re: Does MightyOhm's radio remember the last station?
Thanks it worked. It created the file and now it resumes playing when the router boots.