gmusicbrowser Forum

Main board => Questions => Topic started by: publicradio on May 20, 2019, 07:55:24

Title: Icecast: receiving stream stops whenever a song stops
Post by: publicradio on May 20, 2019, 07:55:24
Hi there,

I'm trying to stream songs with icecast. On a remote machine, I'll open a network stream like this:

Code: [Select]
mplayer http://192.168.1.127:8000
Code: [Select]
vlc http://192.168.1.127:8000
In either case, the stream works when the song's playing, and it stays open when I'm seeking, or pause/playing. But when a song ends and goes to a new song, the stream also ends.

VLC has some pretty complicated (https://wiki.videolan.org/Documentation:Modules/gather/) commands (https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/#Keeping_the_stream_open)commands to keep the stream open, but none of them work for me.

MPV supposedly has a way to keep a stream open, even if it pauses on the server:

Code: [Select]
mpv http://192.168.1.127:8000 --keep-open=always --keep-open-pause=no
But this doesn't work for me, either. Basically, no matter what I use to receive gmusicbrowser's stream, it closes as soon as a song ends.

I see on this forum that people have sucessfully used the icecast feature, so how do I make it work for me?