Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


When pausing internetradiostream, after resuming filled buffer is played
#1
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
Reply
#2
I don't see this behaviour. What stream? Do you have the MPD buffer set to something other than default?
----------------
Robert
Reply
#3
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/em...treamlinks

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..
Reply
#4
(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/em...treamlinks

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?
----------------
Robert
Reply
#5
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
Reply
#6
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
----------------
Robert
Reply
#7
Hi RObert, cool, i will give it a try!

Thank you!
Reply


Forum Jump: