Amarok can't play MP3s from DAAP shares (mt-daapd)

Bug #120077 reported by mathew
16
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: amarok

I have an mt-daapd server running on another box on the network. iTunes connects to it with no problems via zeroconf, so I know the DAAP server side of things is not at fault.

Amarok auto-detected the mt-daapd server via zeroconf, which impressed me. However, it won't play anything from it. When I drag a track into the playlist and then double-click it, I get a pop-up error message:

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:34809/daap.mp3

Based on comments around similar bugs (e.g. #83074 about last.fm), I have also
(a) checked that localhost resolves correctly to 127.0.0.1 (via ping),
(b) checked that lo interface is up via ifconfig, and
(c) checked that libxine-extracodecs is installed for MP3 support

Revision history for this message
sam tygier (samtygier) wrote :

thanks for the bug report.
which version of ubuntu are you running?
which versions of amarok and mt-daap are you running?
do you have any firewall software running?
can you test with rhythmbox, you will need to enable DAAP music sharing in edit->plugins, and install gstreamer0.10-plugins-ugly (for mp3 support)

Changed in amarok:
assignee: nobody → samtygier
status: Unconfirmed → Needs Info
Revision history for this message
mathew (meta23) wrote :

mt-daapd 0.2.4-1 (on Ubuntu 6.10)

Client machine is Kubuntu 7.04 kernel 2.6.20-16 (up to date as of today)

amarok --version says
Qt: 3.3.7
KDE: 3.5.6
Amarok: 1.4.5

No firewall on either machine.

I'd really rather not install half of GNOME, so I'd rather not test with rhythmbox; is there anything else I could test with?

Revision history for this message
sam tygier (samtygier) wrote :

thanks for the info.
i am not aware of any other kde/qt app that supports daap

Changed in amarok:
assignee: samtygier → nobody
status: Needs Info → Unconfirmed
Revision history for this message
mathew (meta23) wrote :

I downloaded ourTunes (Java program), used it to connect to the server, downloaded MP3s successfully. http://ourtunes.sourceforge.net/

So I'm really sure it's not the server or client machine. In fact, for debugging purposes, I could probably set up a dyndns hostname pointing at it, and open the firewall ports, and you could connect to it yourself.

Revision history for this message
Ian Monroe (launchpad-monroe) wrote :

I'm the developer of the DAAP support in Amarok. That'd be great if you could supply the DAAP address of the problem server. You can send it to me privately if you want.

Revision history for this message
Joe Caputo (jcaputo1) wrote :

I'm seeing the same problem.

Details:
Ubuntu Feisty
Amarok version:
   Qt: 3.3.7
   KDE: 3.5.6
   Amarok: 1.4.5

DAAP server: Firefly (version svn-1586)
DAAP server IP: 192.168.0.113

DAAP server works fine with other clients (OurTunes, iTunes)

Track information say URI is:
daap://192.168.0.113:3689/1/3081.mp3

But the error message seems like it's looking for:
http://localhost:46704/daap.mp3

I've confirmed (via ethereal) that there is no traffic being generated to my DAAP server when I try to play a song in Amarok. (yet loading the track listing & info seems to work just fine, traffic for that looks good with ethereal)

The weirdest part is, just the other day I was able to play songs from this share just fine. I'm not sure what changed... I don't think I've updated any relevant software. I'll check my dpkg logs for any likely candidates.

Revision history for this message
Joe Caputo (jcaputo1) wrote :

UPDATE:

Tried again when I got home from my laptop... tracks play just fine. 2 differences:

- inside my network instead of over VPN
- connection detected by Bonjour/mDNS instead of connect via specific IP address

Note that in spite of the above differences, playing tracks DID work until recently over my VPN connection using a specified IP address rather than Bonjour. I don't know why it stopped working.

Revision history for this message
Ian Monroe (launchpad-monroe) wrote :

Whether you add by IP address or via mdns really should make no difference.

So yes, puzzling.

Revision history for this message
mathew (meta23) wrote :

Ian: I sent you the IP address info. Any luck reproducing the problem?

I just upgraded to amarok 1.4.6-0ubuntu1~feisty1

I notice this error on the console:

amarok: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'daap'.
amarok:
QObject::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) to KHTMLPart::slotActiveFrameChanged( KParts::Part * )

Other than that, the behavior is still exactly the same.

Revision history for this message
joaodelvalle (joaodelvalle) wrote :

Same thing here: Amarok shows the daap server name, but when I click on the plus sign to list the songs, the arrow icon keeps going round forever and no listing is shown. With Rhythmbox, the same host works fine. Tried with banshee-daap and mt-daap servers.

Architecture: i386
Version: 2:1.4.7-0ubuntu1~feisty1
Linux thehost 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

Revision history for this message
Jeff Mitchell (jefferai) wrote :

Matthew, that probably means that the daap support was not compiled into the package, or that you need to run kbuildsycoca. As the same user, run "kbuildsycoca --noincremental" and see if it resolves the "Unknown protocol 'daap'" issues. Otherwise you may want to check and see if it was compiled into the Ubuntu 1.4.6 package...

Revision history for this message
Ian Monroe (launchpad-monroe) wrote :

Unknown protocol 'daap' is a good thing, Amarok doesn't use KIO.

matthew, when I tried it I think your computer was off or something, it didn't connect at all (maybe your computer was off).

Revision history for this message
mathew (meta23) wrote :

Still broken in Kubuntu 7.10. (Amarok 1.4.7.)

Revision history for this message
Dustin (dustinh) wrote :

Same behaviour here, daap support still not working. Setup:

# Server
Maxtor Shared Storage II (mt-daap 0.2.4)

# Client
Ubuntu 7.10 i386
Version: 2:1.4.7-0ubuntu3
Linux host 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Revision history for this message
mawaldne (mike-waldner) wrote :

Hey guys, I'm also having this problem. Seems to happen when I'm adding songs from a daap share. When I drag a directory over from Shared Music into the song listing, I get multiple errors:

amarok: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'daap'.
amarok:

... (repeated error for number of songs I try to add)

Setup:

kubutu 7.10
Linux mikew 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

Please let me know if I can provide any other info.Thanks!

- m

Revision history for this message
Thijs (xnyhps) wrote :

For what it's worth for this slightly older thread,

I had the same problems on Fedora Core 8 with Amarok 1.4.7 and mt-daapd r1586 on Kubuntu 7.10. What the problem turned out to be, was Privoxy (running on the same computer as Amarok). After turning off all proxies in the Control Center, it suddenly worked as it should. I hope this helps you with your problem.

Revision history for this message
Simon Blakely (simon-blakely) wrote :

Just to confirm the above comment - I added my servers IP address into the proxy exception list, and playback from DAAP now works.

Revision history for this message
Lydia Pintscher (lydia-pintscher) wrote :

Closing since deactivating Privoxy/other proxys seems to fix it.
Please reopen if the problem still exists.

Changed in amarok:
status: New → Fix Released
Revision history for this message
mathew (meta23) wrote :

I never had privoxy or other proxies configured in KDE. However, it seems the bug has been fixed.

Changed in amarok:
status: Fix Released → Incomplete
Revision history for this message
Mayank Jain Nawal (mayank-in) wrote :

I am getting 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://10.60.5.28/xyz.mp3

10.60.5.28 is the IP address of my machine. I have installed Apache/1.3.41 Server at www.mayankniksun.com Port 80

uname -a
FreeBSD mayank.in.niksun.com 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 <email address hidden>:/usr/obj/usr/src/sys/SMP i386

 amarok --version
Qt: 3.3.8
KDE: 3.5.8
Amarok: 1.4.8

I tried google to find the solution to this problem but It looks like a bug in amarock. I am re opening this PR.

Revision history for this message
Mayank Jain Nawal (mayank-in) wrote :

Sorry I think I have posted at some wrong place looks like this is for Ubuntu only. Changing its status to the previous one. I will appreciate if any one can let me the solution to the above mentioned problem.

Changed in amarok:
status: Incomplete → Fix Released
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.