Posts: 1,279
Threads: 24
Joined: Jun 2022
Reputation:
42
(06-14-2023, 06:55 AM)jbaumann Wrote: (...) I automatically turn off the NAS at 2300 and turn it on in the morning when I start to work.
Hi Joe,
then, since you turn the stereo on, it's just a matter of "remembering" to turn the NAS on too... I don't see a huge problem here; unless your NAS is located elsewhere from where your stereo is, of course.
I sometimes start playing music on moOde without turning the active speakers on... but I can remedy in seconds ;-)
And, BTW, I assume you play an internet radio from the playlist... as with the NAS off, also any music would be inaccessible...
Posts: 58
Threads: 7
Joined: May 2023
Reputation:
2
I only want to play my local radio station on startup, so I do not necessarily need a playlist, if I can set a stream to be played at startup.
My setup before coming across Moode Player was/is an LMS (Logitech Media Server) running on my NAS and a PiCorePlayer (which is a read-only installation of a Squeezelite) as the player. This setup needs the running NAS, which means when I turn on my stereo the NAS automatically receives a WoL-packet to start it if it doesn‘t run already.
By using Moode as Squeezelite player I can have that same functionality already.
My current experimental setup is with Moode, OverlayFS and a configuration that, at startup, plays this local radio station. The current drawback in comparison to the other approach is the way in which playlists are handled.
My interest is in getting as independent of other systems as possible with the Moode installation. This includes not to start the NAS simply to listen to a radio stream.
Posts: 13,424
Threads: 304
Joined: Mar 2018
Reputation:
545
(06-14-2023, 04:13 PM)jbaumann Wrote: I only want to play my local radio station on startup, so I do not necessarily need a playlist, if I can set a stream to be played at startup.
My setup before coming across Moode Player was/is an LMS (Logitech Media Server) running on my NAS and a PiCorePlayer (which is a read-only installation of a Squeezelite) as the player. This setup needs the running NAS, which means when I turn on my stereo the NAS automatically receives a WoL-packet to start it if it doesn‘t run already.
By using Moode as Squeezelite player I can have that same functionality already.
My current experimental setup is with Moode, OverlayFS and a configuration that, at startup, plays this local radio station. The current drawback in comparison to the other approach is the way in which playlists are handled.
My interest is in getting as independent of other systems as possible with the Moode installation. This includes not to start the NAS simply to listen to a radio stream.
The Radio feature in moOde is local and so no NAS is needed to play radio stations.
Posts: 1,279
Threads: 24
Joined: Jun 2022
Reputation:
42
(06-14-2023, 05:06 PM)Tim Curtis Wrote: The Radio feature in moOde is local and so no NAS is needed to play radio stations.
Yep, but I cannot remember whether if you switch moOde off while playing a radio stream, upon booting up again it will remember the last playing queue or not... I appear to remember it does, so there should be no problem; but apparently for @ jbaumann it does not, as he underlines that the NAS not being on prevents this to happen... maybe he is playing a playlist which resides on the NAS, instead of having queued the radio stream only...
Joe, is it so, can you comment?
Posts: 58
Threads: 7
Joined: May 2023
Reputation:
2
This is exactly what I did, I created a playlist with a single entry, my local radio station.
Now I have changed that and simply selected the radio station directly. After a reboot it is played again, exactly as I wanted. I tested moving away the playlist directory in /var/lib/mpd, a reboot yielded the same result.
I now have the playlists directory linked to a directory (rw) on the NAS, let the local radio station run directly, and booting into the player with OverlayFS does exactly what I wanted.
Thanks a lot.
Since this all works so well, my next question :-)
Can I move the database to the NAS as well? Does that even make sense?
Cheers, Joe
Posts: 13,424
Threads: 304
Joined: Mar 2018
Reputation:
545
You might want to investigate MPD satellite mode.
Search for a thread by @ cprogrammer
Posts: 1,279
Threads: 24
Joined: Jun 2022
Reputation:
42
(06-14-2023, 07:25 PM)jbaumann Wrote: This is exactly what I did, I created a playlist with a single entry, my local radio station.
Now I have changed that and simply selected the radio station directly. After a reboot it is played again, exactly as I wanted. I tested moving away the playlist directory in /var/lib/mpd, a reboot yielded the same result.
I now have the playlists directory linked to a directory (rw) on the NAS, let the local radio station run directly, and booting into the player with OverlayFS does exactly what I wanted.
Thanks a lot.
Since this all works so well, my next question :-)
Can I move the database to the NAS as well? Does that even make sense?
Cheers, Joe
I think that if you move the database to the NAS (let alone IF that is possible without a huge impact, say just changing an IP address vs "localhost"... not an expert here) you'll most probably end up NEEDING the NAS to be UP to do anything with moOde...
Posts: 58
Threads: 7
Joined: May 2023
Reputation:
2
I have looked into the satellite mode. It might be interesting to use later on, especially since I have one system which is up 100% of the time (responsible for the home automation) that runs proxmox, where I could put an mpd server without any problems.
Thanks for the pointer.
Cheers, Joe
Posts: 58
Threads: 7
Joined: May 2023
Reputation:
2
Another question: I‘m still experimenting with the OverlayFS, and one of the most efficient ways to reduce the memory footprint is to turn off the logs. Since for an audio player, especially a „read-only“ version, logs are not that interesting, I don‘t see any disadvantages.
Is there anything that I‘m overlooking? The logs can be turned off and on with the same scripts that turn the overlay on and the write-protection for /boot off. This means there is only a minimal overhead switching from the read-only to a fully functional, writable system with normal logging.
Cheers, Joe
Posts: 13,424
Threads: 304
Joined: Mar 2018
Reputation:
545
Which logs are you referring to in the statement below?
"The logs can be turned off and on..."
Many applications only allow reducing the amount if information logged but not to disable logging entirely.
|