Bug 6615 - Does not repeat after remote stream failure at end of playlist
: Does not repeat after remote stream failure at end of playlist
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 7.0
: Macintosh All
: P2 normal with 2 votes (vote)
: 7.x
Assigned To: Alan Young
: new_streaming
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-14 11:15 UTC by Eugene Dugaev
Modified: 2009-07-31 10:15 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Dugaev 2008-01-14 11:15:28 UTC
I am having problem using playlist with shoutcast stations on Transporter/SqueezeCenter 7. Here's what I do:
1. Create playlist of several shoutcast stations (I actually used one station)
2. Start playing first station
3. If station stops playing (any reason), it should advance to the next station in playlist, shoudn't it? Well, it doesn't.

Setting repeat to "Repeat Current Song" or "Repeat Playlist" so that whenever the connection is dropped, it would start again automatically doesn't work too. 

p.s. I used this station in tests: http://mp3.nashe.ru/nashe-192
Comment 1 KDF 2008-01-14 15:05:21 UTC
possibly related to bug 4092.
Comment 2 Eugene Dugaev 2008-01-14 22:14:32 UTC
I don't think so, as MANUAL advance ">>"/"<<" previous works fine. Here is what I do:
1. Browse favorites (my favorites consist of radios only)
2. Get one of them playing
3. Press "+" on other favorites radio items
4. Have a playlist of radiostations that DOES work fine, but only when switching between playlist items manually, e.g. previous << or >> next
Yes, some radio urls may contain several alternative addresses in .m3u files, but  they're added as separate items in the playlist which is fine for me.

So, getting back to the point, the problem is that automatic advance to next item(radio) in the playlist doesn't work should the station stops playing (for any reason).
Comment 3 Blackketter Dean 2008-01-20 12:20:44 UTC
Alan, do you know what's going on here?
Comment 4 Alan Young 2008-01-21 00:45:34 UTC
No, not offhand. I though that this worked. I'm sure that I (think that I) use it this way for our alarm clock although failures of the first station in the playlist are probably sufficiently rate that I might not have noticed it not working.

A few extra questions to help diagnose the cause:

What kind of radio stations are you listening to / have in the playlist? What format are the streams (mp3/wma)?

Do you see this problem upon initial failure to connect to a station or upon failure after its starts playing, or both?

Is there just a single player involved, or multiple synced players?
Comment 5 Eugene Dugaev 2008-01-21 01:58:39 UTC
>What kind of radio stations are you listening to / have in the playlist? What
>format are the streams (mp3/wma)?

shoutcast mp3 (this one: http://mp3.nashe.ru/nashe-192)

>Do you see this problem upon initial failure to connect to a station or upon
>failure after its starts playing, or both?

I noticed it upon failure after it starts playing. I will check about initial failure too.

In my case it did not advance after station stopped playing by itself (no rebuffering or other visible on front panel errors)

>Is there just a single player involved, or multiple synced players?
Single player -- Transporter.
Comment 6 Alan Young 2008-01-21 03:40:01 UTC
If it is reproducible, then a log of player.source=debug would be useful.
Comment 7 Alan Young 2008-01-21 03:41:32 UTC
Oh, and how long have you waited after the failure to determine that it did not move on to the next 'track' in the playlist?
Comment 8 Eugene Dugaev 2008-01-21 12:06:42 UTC
Sorry for delay.

Here is how the problem is reproducable: 
1. Turn REPEAT PLAYLIST ON. Make sure it's empty.
2. Start playing any shoutcst radio station (I used remote as I have stations stored as favorites: Favorites ->Play first favorite station)
3. Choose another station from favorites (which is "dead" for testing purposes): press "+" to add it to the playlist as 2nd item.
4. Press ">>" (FWD) on remote.

It's trying to connect to 2nd playlist item (presumably "dead" station) and when it fails, it doesn't advances back to the 1st item in the list, despite turned REPEAT PLAYLIST ON. The front panel indicator shows "stopped". I'll now try to turn logging on and post the log accordingly. 
It is worth  to note that if you try to advance MANUALLY (">>" FWD on remote) to the next playlist item while it's connecting to the "dead" station (in this example, 1st working station) it works as needed and starts playing.

Stations used in this example: 
- "Working" station: http://213.186.41.149:8040/
- "Dead" station (locally blocked for testing purposes): http://mp3.nashe.ru/nashe-192

Here is the log itself:
[21:58:25.9588] Slim::Player::Source::jumpto (1154) Jumping to 0
[21:58:25.9591] Slim::Player::Source::streamingSongIndex (1342) Adding song index 0 to song queue
[21:58:25.9594] Slim::Player::Source::streamingSongIndex (1346) Clearing out song queue first
[21:58:25.9596] Slim::Player::Source::streamingSongIndex (1363) Song queue is now 0
[21:58:25.9600] Slim::Player::Source::playmode (298) 00:04:20:10:05:5d: Switching to mode play from stop
[21:58:25.9604] Slim::Player::Source::resetSong (1582) Resetting song buffer.
[21:58:25.9637] Slim::Player::Source::openSong (1677) Trying to open: http://213.186.41.149:8040/
[21:58:25.9643] Slim::Player::TranscodingHelper::getConvertCommand (201) undermax = 1, type = mp3, transporter = 00:04:20:10:05:5d
[21:58:25.9646] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-00:04:20:10:05:5d
[21:58:25.9648] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-00:04:20:10:05:5d
[21:58:25.9650] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-*
[21:58:25.9652] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-squeezebox2-*
[21:58:25.9654] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-*
[21:58:25.9657] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-00:04:20:10:05:5d
[21:58:25.9659] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-00:04:20:10:05:5d
[21:58:25.9661] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-*
[21:58:25.9663] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-squeezebox2-*
[21:58:25.9665] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-*
[21:58:25.9667] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-00:04:20:10:05:5d
[21:58:25.9669] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-00:04:20:10:05:5d
[21:58:25.9671] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-*
[21:58:25.9677] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-squeezebox2-*
[21:58:25.9679] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-*
[21:58:25.9681] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-00:04:20:10:05:5d
[21:58:25.9683] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-00:04:20:10:05:5d
[21:58:25.9686] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-*
[21:58:25.9688] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-squeezebox2-*
[21:58:25.9690] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-*
[21:58:25.9692] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-00:04:20:10:05:5d
[21:58:25.9694] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-00:04:20:10:05:5d
[21:58:25.9697] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-*
[21:58:25.9699] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-squeezebox2-*
[21:58:25.9701] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-*
[21:58:25.9703] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-00:04:20:10:05:5d
[21:58:25.9705] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-00:04:20:10:05:5d
[21:58:25.9707] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-*
[21:58:25.9709] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-squeezebox2-*
[21:58:25.9711] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-*
[21:58:25.9713] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if mp3-mp3-*-* is enabled
[21:58:25.9716] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[21:58:25.9718] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[21:58:25.9723] Slim::Player::TranscodingHelper::getConvertCommand (302) Matched Format: mp3 Type: mp3 Command: -
[21:58:25.9758] Slim::Player::Source::playmode (397) 00:04:20:10:05:5d New play mode: play
[21:58:25.9771] Slim::Player::Transporter::play (99) Setting DigitalInput to 0 for [http://213.186.41.149:8040/]
[21:58:25.9774] Slim::Player::Transporter::setDigitalInput (179) Switching to digital input 0
[21:58:25.9815] Slim::Player::TranscodingHelper::getConvertCommand (201) undermax = 1, type = mp3, transporter = 00:04:20:10:05:5d
[21:58:25.9818] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-00:04:20:10:05:5d
[21:58:25.9821] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-00:04:20:10:05:5d
[21:58:25.9823] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-*
[21:58:25.9826] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-squeezebox2-*
[21:58:25.9828] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-*
[21:58:25.9831] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-00:04:20:10:05:5d
[21:58:25.9834] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-00:04:20:10:05:5d
[21:58:25.9836] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-*
[21:58:25.9839] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-squeezebox2-*
[21:58:25.9841] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-*
[21:58:25.9843] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-00:04:20:10:05:5d
[21:58:25.9846] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-00:04:20:10:05:5d
[21:58:25.9848] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-*
[21:58:25.9851] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-squeezebox2-*
[21:58:25.9853] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-*
[21:58:25.9855] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-00:04:20:10:05:5d
[21:58:25.9857] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-00:04:20:10:05:5d
[21:58:25.9859] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-*
[21:58:25.9861] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-squeezebox2-*
[21:58:25.9863] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-*
[21:58:25.9866] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-00:04:20:10:05:5d
[21:58:25.9868] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-00:04:20:10:05:5d
[21:58:25.9870] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-*
[21:58:25.9872] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-squeezebox2-*
[21:58:25.9874] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-*
[21:58:25.9876] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-00:04:20:10:05:5d
[21:58:25.9878] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-00:04:20:10:05:5d
[21:58:25.9880] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-*
[21:58:25.9882] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-squeezebox2-*
[21:58:25.9884] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-*
[21:58:25.9887] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if mp3-mp3-*-* is enabled
[21:58:25.9889] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[21:58:25.9891] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[21:58:25.9896] Slim::Player::TranscodingHelper::getConvertCommand (302) Matched Format: mp3 Type: mp3 Command: -
[21:58:25.9912] Slim::Player::Source::playmode (551) 00:04:20:10:05:5d: Current playmode: play
[21:58:26.8929] Slim::Player::Source::trackStartEvent (1453) Got a track starting event
[21:58:26.8932] Slim::Player::Source::trackStartEvent (1469) Song 0 has now started playing
[21:58:26.8943] Slim::Player::Source::trackStartEvent (1492) Song queue is now 0
[21:59:15.4266] Slim::Player::Source::playmode (298) 00:04:20:10:05:5d: Switching to mode stop from playout-play
[21:59:15.4271] Slim::Player::Source::playmode (397) 00:04:20:10:05:5d New play mode: stop
[21:59:15.4274] Slim::Player::Source::playmode (440) 00:04:20:10:05:5d: Stopping and clearing out old chunks
[21:59:15.4287] Slim::Player::Source::resetSong (1582) Resetting song buffer.
[21:59:15.4291] Slim::Player::Source::resetSongQueue (1416) Resetting song queue
[21:59:15.4294] Slim::Player::Source::resetSongQueue (1426) Song queue is now 0
[21:59:15.4299] Slim::Player::Source::playmode (551) 00:04:20:10:05:5d: Current playmode: stop
[21:59:15.4302] Slim::Player::Source::jumpto (1148) Jumping by +1
[21:59:15.4305] Slim::Player::Source::streamingSongIndex (1342) Adding song index 1 to song queue
[21:59:15.4308] Slim::Player::Source::streamingSongIndex (1346) Clearing out song queue first
[21:59:15.4311] Slim::Player::Source::streamingSongIndex (1363) Song queue is now 1
[21:59:15.4316] Slim::Player::Source::playmode (298) 00:04:20:10:05:5d: Switching to mode play from stop
[21:59:15.4321] Slim::Player::Source::resetSong (1582) Resetting song buffer.
[21:59:15.4357] Slim::Player::Source::openSong (1677) Trying to open: http://mp3.nashe.ru/nashe-192
[21:59:15.4364] Slim::Player::TranscodingHelper::getConvertCommand (201) undermax = 1, type = mp3, transporter = 00:04:20:10:05:5d
[21:59:15.4368] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-00:04:20:10:05:5d
[21:59:15.4370] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-00:04:20:10:05:5d
[21:59:15.4372] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-*
[21:59:15.4374] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-squeezebox2-*
[21:59:15.4376] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-*
[21:59:15.4379] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-00:04:20:10:05:5d
[21:59:15.4381] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-00:04:20:10:05:5d
[21:59:15.4383] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-*
[21:59:15.4385] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-squeezebox2-*
[21:59:15.4387] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-*
[21:59:15.4389] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-00:04:20:10:05:5d
[21:59:15.4391] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-00:04:20:10:05:5d
[21:59:15.4393] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-*
[21:59:15.4395] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-squeezebox2-*
[21:59:15.4397] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-*
[21:59:15.4400] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-00:04:20:10:05:5d
[21:59:15.4402] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-00:04:20:10:05:5d
[21:59:15.4404] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-*
[21:59:15.4406] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-squeezebox2-*
[21:59:15.4408] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-*
[21:59:15.4410] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-00:04:20:10:05:5d
[21:59:15.4412] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-00:04:20:10:05:5d
[21:59:15.4415] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-*
[21:59:15.4417] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-squeezebox2-*
[21:59:15.4419] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-*
[21:59:15.4421] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-00:04:20:10:05:5d
[21:59:15.4423] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-00:04:20:10:05:5d
[21:59:15.4425] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-*
[21:59:15.4427] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-squeezebox2-*
[21:59:15.4429] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-*
[21:59:15.4431] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if mp3-mp3-*-* is enabled
[21:59:15.4434] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[21:59:15.4436] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[21:59:15.4441] Slim::Player::TranscodingHelper::getConvertCommand (302) Matched Format: mp3 Type: mp3 Command: -
[21:59:15.4698] Slim::Player::Source::playmode (397) 00:04:20:10:05:5d New play mode: play
[21:59:15.4711] Slim::Player::Transporter::play (99) Setting DigitalInput to 0 for [http://mp3.nashe.ru/nashe-192]
[21:59:15.4715] Slim::Player::Transporter::setDigitalInput (179) Switching to digital input 0
[21:59:15.4760] Slim::Player::TranscodingHelper::getConvertCommand (201) undermax = 1, type = mp3, transporter = 00:04:20:10:05:5d
[21:59:15.4765] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-00:04:20:10:05:5d
[21:59:15.4768] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-00:04:20:10:05:5d
[21:59:15.4771] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-transporter-*
[21:59:15.4773] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-squeezebox2-*
[21:59:15.4776] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-*
[21:59:15.4779] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-00:04:20:10:05:5d
[21:59:15.4782] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-00:04:20:10:05:5d
[21:59:15.4785] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-transporter-*
[21:59:15.4787] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-squeezebox2-*
[21:59:15.4790] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-*
[21:59:15.4793] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-00:04:20:10:05:5d
[21:59:15.4796] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-00:04:20:10:05:5d
[21:59:15.4799] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-transporter-*
[21:59:15.4801] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-squeezebox2-*
[21:59:15.4804] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-*
[21:59:15.4807] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-00:04:20:10:05:5d
[21:59:15.4810] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-00:04:20:10:05:5d
[21:59:15.4812] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-transporter-*
[21:59:15.4815] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-squeezebox2-*
[21:59:15.4818] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-*
[21:59:15.4821] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-00:04:20:10:05:5d
[21:59:15.4823] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-00:04:20:10:05:5d
[21:59:15.4826] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-transporter-*
[21:59:15.4829] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-squeezebox2-*
[21:59:15.4831] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-*
[21:59:15.4834] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-00:04:20:10:05:5d
[21:59:15.4837] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-00:04:20:10:05:5d
[21:59:15.4839] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-transporter-*
[21:59:15.4842] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-squeezebox2-*
[21:59:15.4844] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-*
[21:59:15.4847] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if mp3-mp3-*-* is enabled
[21:59:15.4849] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[21:59:15.4852] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[21:59:15.4858] Slim::Player::TranscodingHelper::getConvertCommand (302) Matched Format: mp3 Type: mp3 Command: -
[21:59:15.4875] Slim::Player::Source::playmode (551) 00:04:20:10:05:5d: Current playmode: play
[21:59:25.4921] Slim::Player::Source::errorOpening (1596) Error: While opening current track, so mark it as already played!
[21:59:25.4927] Slim::Player::Source::errorOpening (1596) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Player/Source.pm line 1596)
   frame 1: Slim::Player::Source::errorOpening (/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Player/Squeezebox2.pm line 601)
   frame 2: Slim::Player::Squeezebox2::failedDirectStream (/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Networking/Slimproto.pm line 557)
   frame 3: Slim::Networking::Slimproto::_disco_handler (/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Networking/Slimproto.pm line 377)
   frame 4: Slim::Networking::Slimproto::client_readable (/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Networking/Select.pm line 243)
   frame 5: (eval) (/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Networking/Select.pm line 243)
   frame 6: Slim::Networking::Select::select (./slimserver.pl line 503)
   frame 7: main::idle (./slimserver.pl line 453)
   frame 8: main::main (./slimserver.pl line 1003)

[21:59:25.4962] Slim::Player::Source::playmode (298) 00:04:20:10:05:5d: Switching to mode stop from playout-play
[21:59:25.4966] Slim::Player::Source::playmode (397) 00:04:20:10:05:5d New play mode: stop
[21:59:25.4969] Slim::Player::Source::playmode (440) 00:04:20:10:05:5d: Stopping and clearing out old chunks
[21:59:25.4982] Slim::Player::Source::resetSong (1582) Resetting song buffer.
[21:59:25.4985] Slim::Player::Source::resetSongQueue (1416) Resetting song queue
[21:59:25.4988] Slim::Player::Source::resetSongQueue (1426) Song queue is now 1
[21:59:25.4993] Slim::Player::Source::playmode (551) 00:04:20:10:05:5d: Current playmode: stop
 
Comment 9 Andy Grundman 2008-01-21 12:09:43 UTC
Does your test work as expected if you have a 3rd stream in the playlist?  i.e., will it correctly skip over the dead 2nd stream to play the 3rd?
Comment 10 Andy Grundman 2008-01-21 12:12:11 UTC
For the repeat case, I believe it's this bit of code in S::P::Squeezebox2::failedDirectStream.

	# Similar to an underrun, but only continue if we're not at the
	# end of a playlist (irrespective of the repeat mode).
	if ($client->playmode eq 'playout-play' &&
		Slim::Player::Source::streamingSongIndex($client) != (Slim::Player::Playlist::count($client) - 1)) {

		Slim::Player::Source::skipahead($client);

	} else {

		Slim::Player::Source::playmode($client, 'stop');
	}

We explicitly don't return back to the first item, and I believe the reason for this is to avoid an infinite loop.
Comment 11 Eugene Dugaev 2008-01-21 12:31:30 UTC
>Does your test work as expected if you have a 3rd stream in the playlist? 
>i.e., will it correctly skip over the dead 2nd stream to play the 3rd?

Yes, it does. 

Which means that issue is ALWAYS reproducable when "dead" shoutcast is happened to be the last item in the playlist, regardless of the number of the items in the playlist.

>We explicitly don't return back to the first item, and I believe the reason for
>this is to avoid an infinite loop.

I don't get it: what is the point of having "REPEAT PLAYLIST" option/buttin then if you want to avoid infinite loop? If I turn repeat playlist I assume it MUST repeat playlist forever.

Eugene
Comment 12 Andy Grundman 2008-01-21 12:35:02 UTC
So what do you think we should do if all the items in a playlist are dead?
Comment 13 Eugene Dugaev 2008-01-21 12:47:45 UTC
In the case I have illustrated, there's only ONE dead item -- last, the rest are well alive.

[thinking out loud]
In case when ALL playlist items are dead first intention is to stop playing them after X (e.g 100) times. It should only be in case all items are dead, otherwise (at least one is alive), loop forever.

What do you think?
Comment 14 dan aronson 2008-03-19 16:05:09 UTC
I believe that I am seeing the same thing, the streaming URL restarts after a decoder underrun.  I saw the following in the log file:

[08-03-19 15:56:08.4304] Slim::Player::Source::decoderUnderrun (582) 00:04:20:16:00:eb: Decoder underrun while this mode: playout-play
[08-03-19 15:56:08.4317] Slim::Player::Source::nextsong (1586) The next song is number 0, was 0
[08-03-19 15:56:08.4336] Slim::Player::Source::nextsong (1586) The next song is number 0, was 0
[08-03-19 15:56:08.4352] Slim::Player::Source::skipahead (903) **skipahead: opening next song
[08-03-19 15:56:08.4362] Slim::Player::Source::gotoNext (1236) Opening next song...
[08-03-19 15:56:08.4375] Slim::Player::Source::nextsong (1586) The next song is number 0, was 0
[08-03-19 15:56:08.4398] Slim::Player::TranscodingHelper::getConvertCommand (201) undermax = 1, type = mp3, receiver = 00:04:20:16:00:eb
[08-03-19 15:56:08.4409] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-receiver-00:04:20:16:00:eb
[08-03-19 15:56:08.4418] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-00:04:20:16:00:eb
[08-03-19 15:56:08.4426] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-receiver-*
[08-03-19 15:56:08.4434] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-squeezebox2-*
[08-03-19 15:56:08.4443] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wma-*-*
[08-03-19 15:56:08.4452] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-receiver-00:04:20:16:00:eb
[08-03-19 15:56:08.4460] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-00:04:20:16:00:eb
[08-03-19 15:56:08.4468] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-receiver-*
[08-03-19 15:56:08.4476] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-squeezebox2-*
[08-03-19 15:56:08.4485] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-ogg-*-*
[08-03-19 15:56:08.4494] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-receiver-00:04:20:16:00:eb
[08-03-19 15:56:08.4502] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-00:04:20:16:00:eb
[08-03-19 15:56:08.4510] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-receiver-*
[08-03-19 15:56:08.4518] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-squeezebox2-*
[08-03-19 15:56:08.4527] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-flc-*-*
[08-03-19 15:56:08.4536] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-receiver-00:04:20:16:00:eb
[08-03-19 15:56:08.4544] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-00:04:20:16:00:eb
[08-03-19 15:56:08.4552] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-receiver-*
[08-03-19 15:56:08.4562] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-squeezebox2-*
[08-03-19 15:56:08.4571] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-aif-*-*
[08-03-19 15:56:08.4580] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-receiver-00:04:20:16:00:eb
[08-03-19 15:56:08.4588] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-00:04:20:16:00:eb
[08-03-19 15:56:08.4596] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-receiver-*
[08-03-19 15:56:08.4604] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-squeezebox2-*
[08-03-19 15:56:08.4613] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-wav-*-*
[08-03-19 15:56:08.4623] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-receiver-00:04:20:16:00:eb
[08-03-19 15:56:08.4632] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-00:04:20:16:00:eb
[08-03-19 15:56:08.4640] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-receiver-*
[08-03-19 15:56:08.4648] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-squeezebox2-*
[08-03-19 15:56:08.4657] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: mp3-mp3-*-*
[08-03-19 15:56:08.4665] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if mp3-mp3-*-* is enabled
[08-03-19 15:56:08.4673] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[08-03-19 15:56:08.4683] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[08-03-19 15:56:08.4858] Slim::Player::TranscodingHelper::getConvertCommand (302) Matched Format: mp3 Type: mp3 Command: -
[08-03-19 15:56:08.4868] Slim::Player::Source::gotoNext (1323) opening next song (old format: mp3, new: mp3) current playmode: playout-play
[08-03-19 15:56:08.4878] Slim::Player::Source::streamingSongIndex (1380) Adding song index 0 to song queue
[08-03-19 15:56:08.4888] Slim::Player::Source::streamingSongIndex (1401) Song queue is now 0,0
[08-03-19 15:56:08.4897] Slim::Player::Source::skipahead (909) **skipahead: restarting
[08-03-19 15:56:08.4906] Slim::Player::Source::playmode (298) 00:04:20:16:00:eb: Switching to mode play from playout-play
[08-03-19 15:56:08.4925] Slim::Player::Source::resetSong (1625) Resetting song buffer.
Comment 15 Alan Young 2008-03-20 00:24:18 UTC
Dan, I  don't understand what problem you think your are seeing here. From your logs it looks like the remote stream got closed, which led to the decoder underrun, and the same song (or station) was then played again (presumably because you have repeat all or repeat track set).

This error report is talking about the case when connection to a radio station fails (never gets connected) and, if this 'track' is the last item in the playlist, then the playlist does not repeat even though the repeat setting says it should.
Comment 16 dan aronson 2008-03-20 08:26:02 UTC
You're right, on further inspection, mine is a different bug.  I'll refile elsewhere.

Comment 17 Alan Young 2008-06-04 07:34:20 UTC
This should be fixed with new-streaming in 7.2
Comment 18 Alan Young 2008-08-29 02:57:48 UTC
Fixed by new-streaming changes in 7.3
Comment 19 James Richardson 2008-11-19 16:51:20 UTC
Appears to be fixed in

SqueezeCenter 7.3.0 23961

Please test that version or higher, add your comments if you still see the issue.
Comment 20 James Richardson 2008-12-15 12:36:43 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 21 Chris Owens 2009-07-31 10:15:55 UTC
Reduce number of active targets for SC