amarok can't play last.fm, some radio streams (feisty)

Bug #83074 reported by jaiwithani
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: amarok

amarok 1.4.4 on kde 3.5.6; Kubuntu Feisty Herd 3
When attempting to play a last.fm stream, amarok gives:
Error Loading Media
No suitable input plugin. This often means that the url's protocol is not supported. Network failures are other possible causes.
http://localhost:43418/lastfm.mp3

Last.fm is reporting no problems, and using their player yields no issues. Last.fm support on amarok was fine until February 2, 2007.

Additionally, only some of the "cool streams" stations will play successfully. Examples:
-XTC: succeeds
-Virgin Radio: succeeds
-SLAY radio*: Error Loading Media No suitable demux plugin. This often means that the file format is not supported. http://relay.slayradio.org:8000/
-Secret Agent: Works, but occasionally throws an error (and works anyway)
-Raggakings: No suitable demux plugin...
-Radio Paradise: Works, but throws 10 identical items into amarok's playlist.
-Radio.BMJ.net: No suitable input plugin. This often means that the url's protocol is not supported...
-Pure DJ: succeeds, but puts three identical items into amarok's playlist.
-Proton House: succeeds, but throws 9 identical items into amarok's playlist
-Philosomatika: succeeds, 4 identical items in amarok's playlist
...

Revision history for this message
Andrew Ash (ash211) wrote :

It looks like you don't have mp3 support installed. A lot of streams are in mp3 format, so make sure you've got that working: https://help.ubuntu.com/community/RestrictedFormats

The multiple entries in the playlist for some streams are because that stream has more than one mirror, in case one goes down.

Let me know if it's still not working after you've got mp3 support working.

Changed in amarok:
assignee: nobody → ash211
status: Unconfirmed → Needs Info
Revision history for this message
jaiwithani (jaiwithani) wrote :

That would be my first guess, except that most of my library is in mp3 format and continues to play fine, as it has for over a year.

I think this might be a network problem. I've noticed that Amarok actually pops up TWO errors, but the second is hidden behind the first. The second is a xine error:

The connection was refused for the URL:
xine parameters: couldn't send request

Revision history for this message
jaiwithani (jaiwithani) wrote :

running amarok --sync returns this when the error occurs:

io_helper: I/O error: No route to host

This is odd, as last.fm is up, and amarok is able to play other media over the internet (i.e. 'amarok http://obscuresound.com/mp3/emilie-lev.mp3' works fine).

Revision history for this message
Andrew Ash (ash211) wrote :

Hmm, I'm not too sure where to continue.

Do you happen to get this bug in Edgy too? Also, there's been an upgrade to Amarok 1.4.5 in Feisty. Please confirm if you're still seeing this bug in the latest update.

Revision history for this message
jaiwithani (jaiwithani) wrote :

Upgraded to 1.4.5, problem remains.

Revision history for this message
Andrew Ash (ash211) wrote :

Hmm, not sure where to continue. Please continue to keep us updated as repackagings of Amarok 1.4.5 are released.

Thanks

Changed in amarok:
assignee: ash211 → nobody
Revision history for this message
jaiwithani (jaiwithani) wrote :

Problem remains with February 6th Feisty build. I'm increasingly suspicious that this might actually be a problem in xine, but I'm not sure how I might go about fixing it.

Revision history for this message
onkeltom (frenz) wrote :

Amarok 1.4.5 on Gnome, Ubuntu 6.10

Same error (Error Loading Media
No suitable input plugin. This often means that the url's protocol is not supported. Network failures are other possible causes.
http://localhost:43418/lastfm.mp3) occurs in Amarok 1.4.5.
In the past I used Amarok 1.4.3 and playing last.fm-streams worked great. Since version 1.4.4 last.fm-streams caused the error above. I was happy when Amarok 1.4.5 was released, but nothing changed. I'm very confused about the error.
MP3 support is installed and other streams over the internet are played without any problems.

Revision history for this message
jaiwithani (jaiwithani) wrote :

This is not an amarok bug; For reasons I may never understand, my local loopback was turned off. 'sudo ifconfig lo up' fixes everything. Apologies.

Revision history for this message
onkeltom (frenz) wrote :

Not to me,
my local loopback is turned on, but the same error message is shown.

Revision history for this message
onkeltom (frenz) wrote :

So this is the configuration of
'sudo ifconfig lo':

Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:6683 (6.5 KiB) TX bytes:6683 (6.5 KiB)

Revision history for this message
Raine (rainefan2) wrote :

On edgy-eft i have the same problem and solved editing /etc/hosts

older /etc/hosts:
127.0.0.1 localhost
127.0.1.1 laptop

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
---------------------------------------------------------------------
new /etc/hosts:
127.0.0.1 localhost laptop
127.0.1.1 laptop

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

This is an old bug in Ubuntu...many programs slow down theire startup

Revision history for this message
Luke Plant (spookylukey) wrote :

I'm getting exactly the same thing with a clean install of Ubuntu Feisty (final, not beta), Amarok 1.4.5 (using KDE 3.5.6). I have MP3 support (via libxine1-ffmpeg), which works fine with other MP3s. The stand-alone last.fm client works fine.

Revision history for this message
Andrew Ash (ash211) wrote :

Luke: did you try Raine's /etc/hosts suggestion?

Revision history for this message
Luke Plant (spookylukey) wrote :

I never had a line in my /etc/hosts that had: 127.0.1.1 laptop

So I didn't see how this could be relevant. I had added some additional 127.0.0.1 lines to my hosts files, which I removed (restoring it to pristine condition), and it made no difference. I tried manually adding my hostname against 127.0.0.1, which also made no difference. "ifconfig lo" looks like:

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:2657 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2657 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:805852 (786.9 KiB) TX bytes:805852 (786.9 KiB)

So that all seems in order. My network is a wireless WPA connection (which seems to be working fine). I do have an ethernet card, eth0, which isn't connected to anything. My 'eth0' was supposedly 'up' (but no IP address, as there isn't anything connected and the DHCP requests just time out). If I do a manual 'ifdown eth0' (and restart apps etc) I get no change.

In short, I haven't been able to do anything to the network to get this to work, and it all seems to have very sensible, default settings.

If you want me to do some other debugging, let me know what types of things to look at.

Thanks

Revision history for this message
Andrew Ash (ash211) wrote :

If your network is working just fine, then that leaves this as an Amarok bug. I've seen this occasionally myself, and don't have a clue where to go on debugging it. I have found, though, that trying the stream every few seconds will eventually get it working :)

Revision history for this message
lostangel78 (lostangel78) wrote :

I had this prob -- I had reached the end of the playlist on my CD.
I kept hitting the play button until the CD played.

Kaffeine suddenly crashed I think I need to reinstall.
It said: It crashed and caused the SIGNAL 11....SIGSEGV.

...

Revision history for this message
lostangel78 (lostangel78) wrote :

Ok...I insert audio CD titled BT: Emotional Technology...it gives list of choices (play with Amarok, Kaffine, rip, etc.) so:

1. choose Play CD with Amarok
2. Check "Always do this selected action"
3. Press OK

When you put the CD in the drive it should play automatically.

Mission Accomplished.

p.s. Last.fm I know not so please don't enquire thx!

Revision history for this message
lostangel78 (lostangel78) wrote :

The Kaffeine bug only affects the right-click menu from the KDE desktop "Play CD with Kaffeine." If you open Kaffeine first you can play just fine. Or click "Open With" and type "Kaffeine" it will also play.

I joined last.fm free edition global channels are working...I only get this bug sometimes when I play a CD for the second time using KDE right-click menu "Play CD with Amarok" but if I put the CD in again it plays. Also the bug goes away I think if you launch Amarok, go to "Files" and drag the CD into the playlist area. You might want to clear the playlist first.

Revision history for this message
Luke Plant (spookylukey) wrote :

purpleheart -- this page is about a single bug, that is "amarok can't play last.fm, some radio streams (feisty)". If you've got a problem with something else, such as playing CDs or Kaffeine, any comments here will be ignored, because they are not in the right place. For each bug you want to report, you'll need to start a new bug (search for an existing one first).

By the way - it's very unlikely you need to reinstall anything -- under Linux it's very difficult/impossible to accidentally corrupt your installation just by using programs, so reinstalling usually won't do any good.

Thanks :-)

Revision history for this message
Luke Plant (spookylukey) wrote :

Today I have seen an additional message:

Access was denied for the URL: http://localhost:59064/lastfm.mp3
xine parameters: http://localhost:59064/lastfm.mp3

Revision history for this message
Andres Mujica (andres.mujica) wrote :

This bug probably is related or even a duplicate of bug # https://bugs.launchpad.net/amarok/+bug/104949

so please try to replace http:// with mmsh:// to see if it works, specially with the streams that trhown up the no demux plugin or no audio channel available.

Thanks

Revision history for this message
Luke Plant (spookylukey) wrote :

In this case it isn't possible to test by changing the URL to mmsh:/ without patching the source -- Amarok chooses the URL for you. I've tried manually opening a stream with the same URL as the one chosen by Amarok, except s/http/mmsh/ but that doesn't work either.

Revision history for this message
Skarn (skarn86) wrote :

Same problem appeared after upgrading from Amarok 1.4.5 to Amarok 1.4.6 on Kubuntu Feisty

Tried solutions reported here, but didn't work
anyway i'm still quite a newbye so i'm not able to try anything on my own

Revision history for this message
Skarn (skarn86) wrote :

Just
Found out it's not even scrobbling tracks to last.fm

Revision history for this message
Luke Plant (spookylukey) wrote :

With respect to scrobbling: it is working for me, although there were some errors earlier today (I think last.fm may be having some problems with servers). Check your settings for scrobbling.

Revision history for this message
Luke Plant (spookylukey) wrote :

With no software/system changes, last.fm streams are now working for me. (I may have installed some other software, but I'm 99% sure none of it was even vaguely related to media or KDE). This suggests the last.fm servers have now fixed some incompatibility. The only thing that isn't working is custom streams, but I think these are fixed in Amarok 1.4.6 - see http://amarok.kde.org/en/node/234 BR 146020

Revision history for this message
Luke Plant (spookylukey) wrote :

The 'cool streams' mentioned in the original bug report are still not working for me, though.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for amarok (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.