So, all I really want to start with is a dcop call to give me a list of all the albums, and perhaps an equivalent for the album art. And a way to get URLs for the tracks in the albums.<br><br>The strings could be stamped with the db numeric id, and the string and id delimiter separated. I am reluctant to design an entire XML representation before anyone really knows what people will want from it.
<br><br>So if I added those functions, nobody would hate me, right? :)<br><br>Max<br><br>ps I'd try not to freeze the GUI but I assume DCOP needs to be done in the GUI thread, so prolly there is no option. Next best thing is present the user with a message saying "This is not a DOS, something did a big DCOP call"
<br><br><div><span class="gmail_quote">On 19/10/06, <b class="gmail_sendername">Jeff Mitchell</b> <<a href="mailto:kde-dev@emailgoeshere.com">kde-dev@emailgoeshere.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Max--<br><br>I don't think there is currently (someone correct me if I'm wrong), but one<br>could probably be implemented fairly trivially, with a caveat: with a large<br>collection, spitting the data out may cause some freezing of the GUI thread.
<br><br>One problem with this, however, is: what data should be spat out (just artist<br>and song, or artist, song, genre, year...)?  How should the data be separated<br>(commas are a bad idea since some song titles or artist names may have them,
<br>so semicolons?  something else?)?<br><br>--Jeff<br><br>On Wednesday 18 October 2006 19:53, Max Howell wrote:<br>> Is there a way to get the collection contents with DCOP?<br>><br>> Is there anyway to do it outside of amarokapp, without using raw SQL? As I
<br>> want a stable interface.<br>><br>> Ta! :)<br>><br>> Max<br>_______________________________________________<br>Amarok mailing list<br><a href="mailto:Amarok@kde.org">Amarok@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/amarok">
https://mail.kde.org/mailman/listinfo/amarok</a><br></blockquote></div><br>