PDA

View Full Version : SC 7.2 problem with ASX radio



markr
2008-09-25, 00:07
After I upgraded to SC 7.2, I can't listen reliable to my favorite radio station anymore. The problem is in parsing the ASX file:


$ curl http://www.omroep.nl/radio2/live64.asx
<ASX version = "3.0">
<Title>Radio 2</Title>
<entry>
<title>Radio 2</title>
<abstract>Radio 2</abstract>
<MoreInfo href = "mms://www.radio2.nl/" />
<Author>NOS</Author>
<Copyright>Alle rechten voorbehouden</Copyright>
<ref href="mms://livemedia.omroep.nl/radio2-bb"/>
<ref href="mms://livemedia2.omroep.nl/radio2-bb"/>
</entry>
</ASX>

Often, the URI mentioned in the first <ref> tag gives a 404-error. It seems that SC doesn't try the second address, which does work. But when I manually tune in using the latter URI, my Squeezebox plays the radio station fine. So it's the ASX-file which gives the trouble.

This is in my server log:


[08-09-25 08:52:09.8969] Slim::Utils::Scanner::Remote::__ANON__ (195) Error: Can't connect to remote server to retrieve playlist: 404 Not Found.
[08-09-25 08:52:09.9608] Slim::Player::Source::errorOpening (1759) Error: While opening current track, so mark it as already played!
[08-09-25 08:52:09.9614] Slim::Player::Source::errorOpening (1759) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/lib/perl5/vendor_perl/Slim/Player/Source.pm line 1759)
frame 1: Slim::Player::Source::errorOpening (/usr/lib/perl5/vendor_perl/Slim/Player/Squeezebox2.pm line 646)
frame 2: Slim::Player::Squeezebox2::failedDirectStream (/usr/lib/perl5/vendor_perl/Slim/Player/Squeezebox2.pm line 378)
frame 3: Slim::Player::Squeezebox2::directHeaders (/usr/lib/perl5/vendor_perl/Slim/Networking/Slimproto.pm line 571)
frame 4: Slim::Networking::Slimproto::_http_response_handle r (/usr/lib/perl5/vendor_perl/Slim/Networking/Slimproto.pm line 421)
frame 5: Slim::Networking::Slimproto::client_readable (/usr/lib/perl5/vendor_perl/Slim/Networking/IO/Select.pm line 248)
frame 6: (eval) (/usr/lib/perl5/vendor_perl/Slim/Networking/IO/Select.pm line 248)
frame 7: Slim::Networking::IO::Select::select (/usr/libexec/squeezecenter-server line 531)
frame 8: main::idle (/usr/libexec/squeezecenter-server line 481)
frame 9: main::main (/usr/libexec/squeezecenter-server line 1043)

tony79
2008-10-01, 18:22
I also run SC 7.2. I added the URL http://www.omroep.nl/radio2/live64.asx to "my radio stations" and was able to play the stream successfully.

Fransie
2008-10-07, 12:08
I have the same problem with the Dutch Radio 2 URL. Sometimes it works, more often I get a 404. If the assesment of markr is correct it looks like a bug that needs fixing.

Fransie
2008-10-14, 05:24
It my problem is solved now (I think). I did two things:

1) upgraded to squeezecenter 7.2.1-23496
2) added the URL http://www.omroep.nl/live/radio2-breed.asx to 'favorites' (in stead of 'my radio stations', which is not available anymore)

I don't know which of these steps did the trick, but I am glad it works now. This issue seriously stood in the way of acceptance of the squeezebox by the other half of my household.

markr
2008-10-31, 03:19
It my problem is solved now (I think). I did two things:

1) upgraded to squeezecenter 7.2.1-23496
2) added the URL http://www.omroep.nl/live/radio2-breed.asx to 'favorites' (in stead of 'my radio stations', which is not available anymore)

I don't know which of these steps did the trick, but I am glad it works now. This issue seriously stood in the way of acceptance of the squeezebox by the other half of my household.

I'm quite sure the bug still exists. The ASX file contains two MMS streams. The second stream is never tried, even if the first fails. If it worked for you, that's because the first MMS stream mentioned in the ASX file worked.

See also http://bugs.slimdevices.com/show_bug.cgi?id=9674 where the bug is described. Bug 9674 should be reopened.

Mark