Bug 147837 - amarok can not handle streams with funky URLs
Summary: amarok can not handle streams with funky URLs
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 10:59 UTC by Sujee Maniyam
Modified: 2007-07-23 08:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sujee Maniyam 2007-07-13 10:59:51 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Ubuntu Packages
OS:                Linux

Add the following URL to playlist (Ctrl+O)
        http://www.concertzender.nl/mp3pls.php?cid=3
It can not be played.

The above playlist's contents are :
   [playlist]
   NumberOfEntries=1
   File1=http://shoutcast.omroep.nl:8156

Adding the contained URL (http://shoutcast.omroep.nl:8156)  to playist and playing it works fine

Amarok should recognize the above stream URL (php) and correctly figure out the shoutcast URL

Link for bug in Ubuntu : https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/120732
Comment 1 Jeff Mitchell 2007-07-23 00:09:50 UTC
This is a xine problem, not an Amarok problem.

FWIW, RealPlayer can handle the URL, so the Helix engine may play it correctly.
Comment 2 Sujee Maniyam 2007-07-23 07:20:41 UTC
Ok, I will open a bug with Xine.  

But even if it is a xine problem, Amarok *CRASHES*.  Is there anyway to handle this error more gracefully, like putting up that little yellow error message popup, saying this stream is not playable.  Is it possible?  Feedback appreciated.
thanks
Comment 3 Harald Sitter 2007-07-23 07:29:10 UTC
I think this is a bug in Amarok and Xine, mainly Amarok though. AFAIK is the playlist handling done by the frontend (i.e. Amarok), so Amarok doesn't detect the URL as a stream and just forwards it to xinelib hoping it's a music stream xinelib can handle. I guess xine then also doesn't recognize it for some reason as a playlist and of course can't play it since it's not a music stream.

This means first fault is made by Amarok, second by xine. I gotta check back with my very favorite xine dev though ^_^
Comment 4 Sujee Maniyam 2007-07-23 08:27:43 UTC
opened a bug report on xine : http://sourceforge.net/tracker/index.php?func=detail&aid=1758711&group_id=9655&atid=109655

Harald, could you please confirm and re-open this bug if necessary.  Thanks!