Bug 7501 - stream.mp3 stops at end of playlist and disappears from Web UI
: stream.mp3 stops at end of playlist and disappears from Web UI
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 7.0
: PC Debian Linux
: P5 enhancement with 1 vote (vote)
: 7.x
Assigned To: Alan Young
: new_streaming
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-13 08:26 UTC by Andy Hawkins
Modified: 2009-09-08 09:21 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Hawkins 2008-03-13 08:26:12 UTC
Hi,

I tend to use the 'stream.mp3' facility to listen to my music from my home SqueezeCentre at work using Winamp.

After the last item in a playlist is played, Winamp 'stops' playing the stream. A side effect of this is that the stream disappears from the list of players in the web interface.

So, to add new items to the playlist I have to hit 'Play' in Winamp (which starts playing the last track in the playlist again) and then refresh the web interface to get the stream back into the list of players.

Cheers

Andy
Comment 1 Andy Hawkins 2008-03-13 08:28:13 UTC
Sorry, forgot to also mention that the stream has 'bitrate limiting' set to 192 kbps.

Andy
Comment 2 Andy Hawkins 2008-03-14 06:47:04 UTC
Just to add to this, I can make my slimserver available to someone to run a stream against if it would help.

Andy
Comment 3 Andy Grundman 2008-03-14 08:41:44 UTC
We need to decide whether stopping at playlist end or playing silence forever is the right thing to do.  One user commented on the forum that they would prefer to save bandwidth and like the fact that it currently stops.
Comment 4 Andy Hawkins 2008-03-14 08:51:50 UTC
Ah, ok. The person I was speaking to on the forums appeared to think it was supposed to work as I expected it to. Certainly it always used to.

I don't supposed the stream 'rate' could be dropped right down when playing the silenece? Failing that, how about making it an option for the player (i.e. either stream silence at end of playlist or do a hard 'stop')?

Cheers

Andy
Comment 5 Blackketter Dean 2008-03-14 09:31:59 UTC
Why not revert to the old behavior?
Comment 6 Andy Grundman 2008-03-14 09:37:38 UTC
Old behavior?  Hasn't it always been like this?
Comment 7 Alan Young 2008-03-14 10:17:38 UTC
Were there some forget-player type changes that may be implicated here? My reading is that the problem is that you can no longer see the Winamp player in the WebUI and so cannot add new tracks to the playlist - or have I got this wrong?
Comment 8 Andy Grundman 2008-03-14 10:27:14 UTC
Yeah I have stream.mp3 players auto-forget once they disconnect, so they don't hang around forever.
Comment 9 Blackketter Dean 2008-04-02 09:12:39 UTC
We should consider not dropping the connection and streaming silence.
Comment 10 Leiv Hellebo 2008-05-02 02:59:13 UTC
Additional annoyance (also from work, using gnome-rhythmbox or stream.mp3 directly in firefox):
The last track in my playlist lasted 72 seconds, and when I click "play", somehow SqueezeCenter remembers my player (?) and the last track it had on it's playlist, so I do get to hear that track.

But it is *very hard* to modify the playlist before SC forgets my player again. I just spent a couple of hours doing all sorts of tricks (including restarting SC) before I finally managed to put another album in the playlist.

Regards,

Leiv
Comment 11 Andy Hawkins 2008-05-02 09:05:17 UTC
Leiv, the way I generally do it is to hit play on my player, then immediately hit pause.

That way the player is still visible to Slimserver, so you can clear out the playlist and modify it.

Once you're ready, hit stop on your player, then play again and it'll start playing the new playlist.

Andy
Comment 12 Leiv Hellebo 2008-05-02 15:08:53 UTC
Thanks Andy,

I guess I didn't think of all tricks ;)

(I also just saw that there is a "Maintain Client Playlists" setting under the "Music Library" tab, which probably also would have helped.)
Comment 13 Dave Dewey 2008-06-02 09:24:10 UTC
Is there a plan/schedule to fix this?   Once a playlist ends, even though the streamed player is still visible in the UI, it doesn't 'exist' anymore.  It will happily appear to accept a new playlist, but in actuality it's one of the squeezeboxen at home that will start to play.  This is EXTREMELY annoying on a daily basis, as I listen to my home SqueezeCenter from my office all day long.

The workaround is to have to make absolutely certain that I pause the player before the end of the playlist, then refresh the UI a couple of times to ensure that the streamed client hangs around, and even switch players in the UI once or twice.  Then and only then am I comfortable that adding additional songs to the streamed client's playlist will start them playing in the player I want them to.  This is frustrating and puzzling behavior from otherwise-excellent software.
Currently running version 7.1 - 20131 on Fedora Core 6 with the Fishbone skin.

This bug is gonna get me divorced... my wife works from home, and every day at some point when she's on the phone I accidentally blast something unexpected at her at high volume...
Comment 14 Renato Etzi 2008-06-10 08:14:16 UTC
This one really annoys me. I run squeezecenter 7.0.1 on 2 different machines at home. One slimNAS on freeBSD and one on a vista PC. From another pc at home i can stream fine from both machines to Winamp. Only when i try streaming to another location over the internet this bug appears. But only with the slimNAS server. From the windows machine it does not drop the connection between tracks.

This seems like a silly timeout caused by (lack of) performance bug. 
Anyway, it causes squeezecenter to display inconsistant functional behavior over platforms. And that could never be a required feature. Or could it?

I think that fixing this deserves a higher priority.
Comment 15 Alan Young 2008-09-24 07:45:42 UTC
Fixed with change 23280 in 7.3. Tested with mplayer (not winamp).
Comment 16 James Richardson 2008-12-15 12:04:32 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 17 Chris Owens 2009-07-31 10:17:59 UTC
Reduce number of active targets for SC