Moode Forum
When pausing internetradiostream, after resuming filled buffer is played - 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: When pausing internetradiostream, after resuming filled buffer is played (/showthread.php?tid=6306)



When pausing internetradiostream, after resuming filled buffer is played - muddiver - 03-12-2024

Hello forum!

moode version is 8.3.9

i got a little annoying thing..
When i play internetradio and pause ( not mute ) the stream, after resuming the stream it seems as if the filled buffer is played.
After approximately a minute or two, the music stops suddenly and enters the stream at the actual position.


Do you know this issue too?
Can i set some parameters to get rid of it?

Thanks in advance, Tom


RE: When pausing internetradiostream, after resuming filled buffer is played - the_bertrum - 03-12-2024

I don't see this behaviour. What stream? Do you have the MPD buffer set to something other than default?


RE: When pausing internetradiostream, after resuming filled buffer is played - muddiver - 03-12-2024

Hi RObert,

do you mean the Bufferoptions in audio->mpd settings? I cannot remember touching anything in there..
Audiobuffer is set to 4MB..

The streams are mainly Rockantennestreams..
https://www.rockantenne.de/rockhoeren/empfang/streamlinks

often this one: https://stream.rockantenne.de/classic-perlen/stream/mp3

But if i remember right, it happens on different streams.
I think its often unnoticed, but if a very good song begins to play, and is interrupted by a bad one, then everyone recognices it..


RE: When pausing internetradiostream, after resuming filled buffer is played - the_bertrum - 03-12-2024

(03-12-2024, 06:40 PM)muddiver Wrote: Hi RObert,

do you mean the Bufferoptions in audio->mpd settings? I cannot remember touching anything in there..
Audiobuffer is set to 4MB..

The streams are mainly Rockantennestreams..
https://www.rockantenne.de/rockhoeren/empfang/streamlinks

often this one: https://stream.rockantenne.de/classic-perlen/stream/mp3

But if i remember right, it happens on different streams.
I think its often unnoticed, but if a very good song begins to play, and is interrupted by a bad one, then everyone recognices it..

Same buffer setting as my players report. So nothing out of the ordinary there.
I assume you are using the pause button in the moOde UI to stop the playback?


RE: When pausing internetradiostream, after resuming filled buffer is played - muddiver - 03-13-2024

Hi Robert,

i have a remotecontrol with a USB-dongle attached, i use triggerhappy to read the keys and to map commands.

The play/pause key triggers the following command:
mpc toggle

so its the same as if i logged on via ssh and type in the command.

Greets, Tom


RE: When pausing internetradiostream, after resuming filled buffer is played - the_bertrum - 03-14-2024

I tried toggle on a "stop start button" on one of my players, but couldn't get on with it.  It seems to not always work well if the player had been idle for a few hours.  I ended up using this script instead:

Code:
#!/bin/bash
STATUS=$(mpc status)
if [[ $STATUS != *"playing"* ]];
then
    mpc stop
else
    mpc play
fi



RE: When pausing internetradiostream, after resuming filled buffer is played - muddiver - 03-16-2024

Hi RObert, cool, i will give it a try!

Thank you!