Review Request: Fix DAAP collections published by Rhythmbox not showing up in Amarok.

Daniel Stöckel the_docter at gmx.net
Fri Sep 7 13:05:28 UTC 2012



> On Sept. 7, 2012, 12:34 p.m., Bart Cerneels wrote:
> > src/core-impl/collections/daap/DaapMeta.cpp, line 43
> > <http://git.reviewboard.kde.org/r/106366/diff/2/?file=84097#file84097line43>
> >
> >     Since the playable url now contains a session ID, I wonder if it will still be playable after restart.
> >     
> >     This might not be an issue if the track can be resolved using it's uidUrl by the DaapCollection the should become available not long after startup.

I was about to say: "It definitely will not work" but this is not entirely true. Apparently one can restart Amarok and still play a track published by Rhythmbox.
However once Rhythmbox restarts the track can no longer be played. So it basically comes down to the level of quirkiness on the server side.

On the Amarok side a quick git grep told me that a DaapTrack is instantiated at exactly one place: when downloading the TrackList from the server.
Thus i do not think that any kind of resolving is actually taking place. But still, i know basically nothing about the inner workings of Amarok.


- Daniel


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106366/#review18654
-----------------------------------------------------------


On Sept. 7, 2012, 12:16 p.m., Daniel Stöckel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106366/
> -----------------------------------------------------------
> 
> (Updated Sept. 7, 2012, 12:16 p.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Description
> -------
> 
> This simply sends a fake revision-number to the server.
> 
> Also appends the session-id field to the track URLs.
> 
> See: https://bugs.kde.org/show_bug.cgi?id=306351
> See: https://bugs.kde.org/show_bug.cgi?id=306351
> 
> 
> Diffs
> -----
> 
>   src/core-impl/collections/daap/DaapMeta.h 5278b57 
>   src/core-impl/collections/daap/DaapMeta.cpp a2429d7 
>   src/core-impl/collections/daap/daapreader/Reader.cpp b6196e1 
> 
> Diff: http://git.reviewboard.kde.org/r/106366/diff/
> 
> 
> Testing
> -------
> 
> - Rhythmbox collections now correctly appear and play in Amarok.
> - Validated that mt-daap collections are still working.
> 
> 
> Thanks,
> 
> Daniel Stöckel
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120907/94db114c/attachment.html>


More information about the Amarok-devel mailing list