[GSoC update] Distributed Collections: Week 1

Varrun Ramani varrunr at gmail.com
Sat Jun 12 08:58:22 CEST 2010


Hi Max

On 29 May 2010 18:31, Maximilian Kossick
<maximilian.kossick at googlemail.com>wrote:

> That approach is used quite successfully in Amarok's D-Bus API. There
> is a D-BUS method that allows external applications to query Amarok's
> collections (all collections, unlike earlier versions which had to use
> SQL, and broke horribly when Amarok's SQL schema changed). Amarok
> takes a XML string, and returns a list of maps continaing track
> metadata.
>
>
Can you point me to the part of the source where the Amarok D-bus API is
implemented. I read the source of the XmlQueryReader and XmlQueryWriter
classes. I would like to make a small test implementation by converting a
query to XML. Hence, I would like to refer to some code that already uses
these classes, to get a better idea.


> Theoretically the XML format does already support queries for other
> entities than tracks, it's just that the current D-BUS API does not
> support this.
>

What other entities? Do you mean album, genre etc.. ?


> I think I've got a draft for a XSD lying around on my harddrive
> somewhere. I'll try to dig it up.
>
>
That would be helpful

--
Varrun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20100612/70e4c34b/attachment.htm 


More information about the Amarok-devel mailing list