Moode Forum
[SOLVED] Restart Internet Radio Stream - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] Restart Internet Radio Stream (/showthread.php?tid=7371)



Restart Internet Radio Stream - felix1024 - 01-31-2025

Hello

I want to play a internet radio stream 7/24h. Unfortunately for some unknown reason play stops after one day.
Can i somehow detect/monitor when the radio stops playing and then restart?

Alternately can i start a radio stream by cronjob once a day? What would be the command for such operation?

Appreciate any hint 

-Felix


RE: Restart Internet Radio Stream - the_bertrum - 01-31-2025

Go to the Radio page in the library and click the settings cog, turn on the monitor feature. Then edit the station you want to monitor (three dots on the station icon) and set monitor to "yes". That should catch when the stream stops and automatically restart it.


RE: Restart Internet Radio Stream - felix1024 - 01-31-2025

(01-31-2025, 11:37 AM)the_bertrum Wrote: Go to the Radio page in the library and click the settings cog, turn on the monitor feature.  Then edit the station you want to monitor (three dots on the station icon) and set monitor to "yes".  That should catch when the stream stops and automatically restart it.

Great! I will try this. (problem solved when it now plays for more than 24h Smile)
Thank You!

-Felix


RE: Restart Internet Radio Stream - felix1024 - 02-02-2025

Unfortunately the stream still stops after several hours.
Any other ideas to keep a radio stream running all the time?


RE: Restart Internet Radio Stream - Tim Curtis - 02-02-2025

Examine the MPD log around the time the stream stops to see if there are any errors or warnings. The builtin stream monitor only checks for a particular series of buffer underruns (xrun) in the log.

moodeutl --mpdlog


RE: Restart Internet Radio Stream - felix1024 - 02-02-2025

(Yesterday, 04:25 PM)Tim Curtis Wrote: Examine the MPD log around the time the stream stops to see if there are any errors or warnings. The builtin stream monitor only checks for a particular series of buffer underruns (xrun) in the log.

moodeutl --mpdlog

Thanks, will check

BTW: just seen, that the monitoring option needs to be enabled on each station separately. In my current station this was not the case, does this mean, that the buffer underun detection was not working?


RE: Restart Internet Radio Stream - Tim Curtis - 02-02-2025

(Yesterday, 04:34 PM)felix1024 Wrote:
(Yesterday, 04:25 PM)Tim Curtis Wrote: Examine the MPD log around the time the stream stops to see if there are any errors or warnings. The builtin stream monitor only checks for a particular series of buffer underruns (xrun) in the log.

moodeutl --mpdlog

Thanks, will check

BTW: just seen, that the monitoring option needs to be enabled on each station separately. In my current station this was not the case, does this mean, that the buffer underun detection was not working?

Correct. Not working unless enabled for the specific station.