Bug 275640 - DAAP shares are not showed after upgrade
Summary: DAAP shares are not showed after upgrade
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: Collections/DAAP (other bugs)
Version First Reported In: 2.4.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 2.4.2
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 17:37 UTC by Aitor
Modified: 2013-02-19 12:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Dump file for a whole session (2.04 KB, application/octet-stream)
2011-06-14 18:24 UTC, Aitor
Details
Using tangerine Amarok is able to gather the library correctly (11.33 KB, application/octet-stream)
2011-06-15 19:23 UTC, Aitor
Details
But Amarok is not able to play any file from tangerine (4.60 KB, application/octet-stream)
2011-06-15 19:25 UTC, Aitor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aitor 2011-06-14 17:37:27 UTC
Version:           2.4.1 (using KDE 4.6.4) 
OS:                Linux

After upgrading amarok to version 2.4.1 my daap share stoped showing on my collection. After launching amarok with --debug it seems to read the share anouncement but still doesn't work.
At the same time rhythmbox is able to read the daap share correctly.

daap lines from amarok --debug are the following:
amarok:           [PluginManager] found plugin: "amarok_collection-daapcollection" enabled: false 
amarok:         [PluginManager] created factory for plugin "amarok_collection-daapcollection" type: "Collection" 
amarok:             [CollectionManager] initializing "amarok_collection-daapcollection" 
amarok: [DaapCollection] "Music on sande.aitorpazos.es"   "sande.local"   "local"   "_daap._tcp"

This line in the log looks weird, because the plugin is activated on the config dialog (sorry if this is normal, I just wanted to point out that the DAAP plugin is checked)
 [PluginManager] found plugin: "amarok_collection-daapcollection" enabled: false 

After removing Amarok's config ./kde4/share/apps/amarok and .kde4/share/config/amarok* everything remains the same.

Reproducible: Always

Steps to Reproduce:
Launch amarok

Actual Results:  
No Daap share will show up

Expected Results:  
Daap shares should be loaded

ArchLinux x86_64
Kernel 2.6.39-ARCH
Qt 4.7.3
Kde 4.6.4
Amarok 2.4.1
Comment 1 Aitor 2011-06-14 18:24:21 UTC
Created attachment 60992 [details]
Dump file for a whole session

In the dump you can see that the server complains about an Invalid request.
Comment 2 Aitor 2011-06-14 19:00:10 UTC
By the way, I'm using
Forked Media Server: Version 0.16
Comment 3 Myriam Schweingruber 2011-06-14 19:09:02 UTC
JFYI: $HOME/.kde4/share/apps/amarok doesn't contain configuration files but the database, statistics, podcast subscriptions etc., you should not erase that without a previous backup, and there is no need to erase it.

The config files are all in $HOME/.kde4/share/config/
Comment 4 Aitor 2011-06-14 19:12:15 UTC
I did a backup indeed, I just wanted to make a clean start anyway.
Comment 5 Bart Cerneels 2011-06-14 21:49:16 UTC
Make sure the DAAP plugin is enabled first. You can find the plugin configuration in the configuration dialog.
DAAP plugin is disabled by default.
Comment 6 Aitor 2011-06-14 22:01:07 UTC
The plugin appears as enabled. And as network traffic dumps show, Amarok does actually comunicate with the daap server.
Comment 7 Aitor 2011-06-15 19:23:41 UTC
Created attachment 61027 [details]
Using tangerine Amarok is able to gather the library correctly

Using tangerine Amarok is able to gather the library but it fails in playing any file as it doesn't seem to send the Client-DAAP-Validation code. Dump attached in the next file
Comment 8 Aitor 2011-06-15 19:25:11 UTC
Created attachment 61028 [details]
But Amarok is not able to play any file from tangerine

The server replies with a 403 error
Comment 9 Myriam Schweingruber 2013-01-11 13:27:13 UTC
There has been a lot of work on Amarok since 2.4.1, please test Amarok 2.6.90 aka 2.7 beta or Amarok 2.7, to be released in a few days.
Comment 10 Myriam Schweingruber 2013-02-11 17:50:43 UTC
Any news on this?
Comment 11 Myriam Schweingruber 2013-02-19 12:26:03 UTC
Closing for lack of feedback. Please feel free to reopen this if you can reproduce it with Amarok 2.7 or later.