PDA

View Full Version : Problems with Internet Radio



Scott Reese
2005-03-06, 10:27
Greetings:

I'm using SlimServer v5.4.0 running on a linux server. I have an account
with www.di.fm that I typically use at work on a linux workstation using
XMMS without problems. Here's what I'm seeing at home while trying to
listen to the stream with my SliMP3.

When I try to connect to a 128Kb stream using my username and password, the
stream won't play. I get the following logging information:

2005-03-06 11:30:26.7485 openSong on: http://username:password (AT) 160 (DOT) 79.128.39:80
2005-03-06 11:30:26.7489 URL is remote :
http://username:password (AT) 160 (DOT) 79.128.39:80
2005-03-06 11:30:26.7602 Trying to open protocol stream for
http://username:password (AT) 160 (DOT) 79.128.39:80
2005-03-06 11:30:26.7607 Looking for handler for protocol http
2005-03-06 11:30:26.7610 Found handler for protocol http
2005-03-06 11:30:26.7616 Opening connection to
http://username:password (AT) 160 (DOT) 79.128.39:80: [160.79.128.39 on port 80 with
path / with timeout 5]
2005-03-06 11:30:26.7984 Request: GET / HTTP/1.0
Host: 160.79.128.39:80
User-Agent: iTunes/3.0 (linux; SlimServer 5.4.0)
Accept: */*
Cache-Control: no-cache
Connection: close
Icy-MetaData:1
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXX

2005-03-06 11:30:27.6942 Response: ICY 200 OK
2005-03-06 11:30:27.6975 header: icy-notice1:<BR>This stream requires <a
href="http://www.winamp.com/">Winamp</a><BR>
2005-03-06 11:30:27.6996 header: icy-notice2:SHOUTcast Distributed Network
Audio Server/FreeBSD4 v1.9.2<BR>
2005-03-06 11:30:27.7184 header: icy-name:D I G I T A L L Y - I M P O R T E
D - Classic Electronica - old school techno, trance & rave!
2005-03-06 11:30:27.7208 header: icy-genre:Techno Trance Rave
2005-03-06 11:30:27.7228 header: icy-url:http://www.di.fm
2005-03-06 11:30:27.7243 header: Content-Type:audio/mp3
2005-03-06 11:30:27.7264 header: icy-pub:0
2005-03-06 11:30:27.7279 header: icy-metaint:8192
2005-03-06 11:30:27.7293 header: icy-br:128
2005-03-06 11:30:27.7311 header:
2005-03-06 11:30:27.7315 Recieved final blank line...
2005-03-06 11:30:27.7318 opened stream!
2005-03-06 11:30:27.7331 don't know how to handle content for
http://username:password (AT) 160 (DOT) 79.128.39:80
2005-03-06 11:30:27.7337 Remote stream failed to open, showing message.


and a little further down:

2005-03-06 11:30:27.7845 Undefined string: AUDIO/MP3
requested language: EN
failsafe language: EN

However, if I try to connect to one of the free streams, it works perfectly.
Here is the debug output for that transaction:


2005-03-06 11:31:47.3706 openSong on: http://64.236.34.67:80/stream/1017
2005-03-06 11:31:47.3711 URL is remote : http://64.236.34.67:80/stream/1017
2005-03-06 11:31:47.3816 Trying to open protocol stream for
http://64.236.34.67:80/stream/1017
2005-03-06 11:31:47.3821 Looking for handler for protocol http
2005-03-06 11:31:47.3825 Found handler for protocol http
2005-03-06 11:31:47.3833 Opening connection to
http://64.236.34.67:80/stream/1017: [64.236.34.67 on port 80 with path
/stream/1017 with timeout 5]
2005-03-06 11:31:47.4123 Request: GET /stream/1017 HTTP/1.0
Host: 64.236.34.67:80
User-Agent: iTunes/3.0 (linux; SlimServer 5.4.0)
Accept: */*
Cache-Control: no-cache
Connection: close
Icy-MetaData:1

2005-03-06 11:31:47.4311 Response: ICY 200 OK
2005-03-06 11:31:47.4344 header: icy-notice1: <BR>This stream requires <a
href="http://www.winamp.com/">Winamp</a><BR>
2005-03-06 11:31:47.4367 header: icy-notice2: SHOUTcast Distributed Network
Audio Server/FreeBSD v1.9.5<BR>
2005-03-06 11:31:47.4393 header: icy-name: D I G I T A L L Y - I M P O R T E
D - DJ MIXES - non-stop DJ sets featuring various forms of techno & trance!
2005-03-06 11:31:47.4416 header: icy-genre: Trance Techno House
2005-03-06 11:31:47.4436 header: icy-url: http://www.di.fm
2005-03-06 11:31:47.4451 header: icy-pub: 0
2005-03-06 11:31:47.4467 header: icy-metaint: 8192
2005-03-06 11:31:47.4482 header: icy-br: 96
2005-03-06 11:31:47.4503 header: icy-irc: #shoutcast
2005-03-06 11:31:47.4518 header: icy-icq: 0
2005-03-06 11:31:47.4535 header: icy-aim: N/A
2005-03-06 11:31:47.4549 header:
2005-03-06 11:31:47.4554 Recieved final blank line...
2005-03-06 11:31:47.4558 opened stream!
2005-03-06 11:31:47.4566 remoteURL is a song :
http://64.236.34.67:80/stream/1017


The only real difference that I can see is that the password protected
stream returns a header with Content-Type:audio/MP3 that the free stream
doesn't. It appears that the header is causing the problem, but I can't
really be positive, and I surely don't know what to do about it if it is the
problem.

Thanks.

-Scott