Bug 186532 - rhythmbox can't play http://www.di.fm/mp3/goapsy.pls
Summary: rhythmbox can't play http://www.di.fm/mp3/goapsy.pls
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rhythmbox
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact:
URL: http://www.di.fm/mp3/goapsy.pls
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-24 03:18 UTC by pigetak178
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-21 15:46:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
screen shot of rhythmbox with goa, trance marked down and playing vocaltrance (123.78 KB, image/png)
2006-03-24 03:18 UTC, pigetak178
no flags Details
strace output from play of goa to success of vocals (549.14 KB, text/plain)
2006-03-24 03:20 UTC, pigetak178
no flags Details
error while trying to play the cited site (9.95 KB, image/png)
2007-01-31 01:09 UTC, pigetak178
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 468905 0 None None None Never

Description pigetak178 2006-03-24 03:18:44 UTC
Description of problem:

FC5 Rhythmbox can't play radio station http://www.di.fm/mp3/goapsy.pls.
Mplayer can play it, however.  BUT rhythmbox can play:
http://www.di.fm/mp3/vocaltrance.pls which is weird.

I ran strace while trying to connect and the trace shows something is going
wrong in the ICY negotiations.  I'll attach the strace file.


Version-Release number of selected component (if applicable):

rhythmbox-0.9.3.1-3
gstreamer-plugins-good-0.10.2-1
gstreamer-0.10.3-3
gstreamer-plugins-base-0.10.3-3
gstreamer-plugins-ugly-0.10.2-1.fc5

How reproducible:

Fails every time since upgrading from FC4 to FC5

Steps to Reproduce:
1. bring up rhythmbox
2. configure new radio station
3. try and play it.
  
Actual results:

goa
trance
vocal

are in the radio list.  it starts marking goa down, then trance down, then plays
vocal.

Expected results:

should play vocal

Additional info:

failed case for goa:

6014  write(25, "GET /mp3/goapsy.pls HTTP/1.1\r\nHo"..., 121) = 121
6014  read(25, 0x9904a04, 4096)         = -1 EAGAIN (Resource temporarily
unavailable)
6014  read(25, "HTTP/1.1 200 OK\r\nDate: Fri, 24 M"..., 4096) = 592
6014  close(25)                         = 0
6014  socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 25
6014  connect(25, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("64.236.34.97")}, 16) = 0
6014  write(25, "GET /stream/1008 HTTP/1.1\r\nHost:"..., 147) = 147
6014  read(25, 0x9904a04, 4096)         = -1 EAGAIN (Resource temporarily
unavailable)
6014  read(25, "ICY 404 Resource Not Found\r\nicy-"..., 4096) = 157

successful case for vocal:

6014  write(25, "GET /mp3/vocaltrance.pls HTTP/1."..., 126) = 126
6014  read(25, 0x9904a04, 4096)         = -1 EAGAIN (Resource temporarily
unavailable)
6014  read(25, "HTTP/1.1 200 OK\r\nDate: Fri, 24 M"..., 4096) = 773
6014  close(25)                         = 0
6014  socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 25
6014  connect(25, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("205.188.215.98")}, 16) = 0
6014  write(25, "GET /stream/1065 HTTP/1.1\r\nHost:"..., 149) = 149
6014  read(25, 0x9904a04, 4096)         = -1 EAGAIN (Resource temporarily
unavailable)
6014  read(25, "ICY 200 OK\r\nicy-notice1: <BR>Thi"..., 4096) = 396

see attached strace for full output

Comment 1 pigetak178 2006-03-24 03:18:44 UTC
Created attachment 126597 [details]
screen shot of rhythmbox with goa, trance marked down and playing vocaltrance

Comment 2 pigetak178 2006-03-24 03:20:09 UTC
Created attachment 126598 [details]
strace output from play of goa to success of vocals

Comment 3 pigetak178 2006-03-24 03:21:00 UTC
s/should play vocal/should play goa/ in the Expected Results

Comment 4 Alex Lancaster 2006-04-18 02:38:18 UTC
Newer version 0.9.4 I think has better .pls handling.  I've made an upgrade
request: bug #189189.

Comment 5 pigetak178 2006-04-18 10:49:46 UTC
Thanks.  Just a few notes.  Seems this is an intermittent problem with DI
channels. They claim that the media device (in this case rhy*box) must support
shoutcast streaming titles or else the device can't render the stream. I've had
intermittent problems with other players as well such as xmms and mplayer.
Sometimes one will work when the others won't. Or all three stop working for a
few days, then one or more will work. Today, for example, R*box works on the goa
channel. (In fact, all three players are working at this very moment).

Comment 6 Bastien Nocera 2007-01-31 00:25:17 UTC
What's the actual error that Rhythmbox gives you? (you can see it by clicking on
the icon next to the track name)

Any more luck with the FC6 Rhythmbox?

Comment 7 pigetak178 2007-01-31 01:09:16 UTC
Created attachment 146992 [details]
error while trying to play the cited site

Comment 8 pigetak178 2007-01-31 01:10:46 UTC
takes a long time for the error to pop up.  while clicking pause/play it started
playing for a few seconds then the error popped up and it stopped.

you should be able to try this on your system. the site is open to everyone. 
Mplayer has no trouble playing it.

Comment 9 pigetak178 2007-01-31 01:11:22 UTC
rhythmbox-0.9.7-1.fc6 still fails

Comment 10 Bastien Nocera 2007-08-21 15:46:26 UTC
6014  read(25, "ICY 404 Resource Not Found\r\nicy-"..., 4096) = 157
6014  gettimeofday({1143160446, 479374}, NULL) = 0
6014  write(25, "GET /stream/1008 HTTP/1.1\r\nHost:"..., 147) = 147
6014  read(25, 0x9904a04, 4096)         = -1 EAGAIN (Resource temporarily
unavailable)

It looks to me like Rhythmbox should fallback to the next stream, but it's far
from trivial with the way the code is written. Filed upstream at:
http://bugzilla.gnome.org/show_bug.cgi?id=468905


Note You need to log in before you can comment on or make changes to this bug.