On 8/24/07, <b class="gmail_sendername">Maximilian Kossick</b> <<a href="mailto:mkossick@gmx.de">mkossick@gmx.de</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sending Nikolaj's e-mail to Mario too.<br><br>Mario, you can get data for the current track from the "amarok-current"<br>dataengine (in src/context/engines/current). If you need more data from the<br>engine(fx the url), please tell us.
<br><br>Leo, can we make the dataengine return a QVariantMap instead of a<br>QVariantList? That would make it a lot easier to return new entries from the<br>data engine without breaking backwards compatibility. The Xesam guys have
<br>defined names for the different fields of audio metadata, we could use those<br>names as keys.</blockquote><div><br>Sure, that makes sense. I wasn't thinking too hard about extending that engine when i first wrote it.
<br></div><br><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>On Friday 24 August 2007, Nikolaj Hald Nielsen wrote:<br>> That looks really neat!
<br>><br>> I am thinking we might want to merge this with the "current track"<br>> applet that Leo is currently working on, and make an applet that can<br>> be used both within Amarok2's new context view, or placed directly to
<br>> the desktop! Amarok will need to provide a data source in both cases.<br>><br>> That would provide the best of both worlds and make sure that we don't<br>> duplicate too much effort! :-)<br>><br>> - Nikolaj
<br>><br>> On 8/24/07, Mario Young <<a href="mailto:maye.co@gmail.com">maye.co@gmail.com</a>> wrote:<br>> > Hi Plasma/Amarok Developers<br>> ><br>> > I'm very happy that show you my first(hope not the last) plasma applet
<br>> > the plasma_moodbar thanks to Joseph Rabinoff and Gav Wood (the guys who<br>> > make the hard coding).<br>> ><br>> > To finish this applet I need to know how I get the info from amarok<br>> > that I need(current track, current time and amarok config)
<br>> ><br>> > I'm attaching the source code and a screenshot<br>> > and please send me some feedback.<br>> ><br>> > Best Regards,<br>> ><br>> > Mario Young<br>> ><br>> >
<br>> ><br>> > _______________________________________________<br>> > Amarok-devel mailing list<br>> > <a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>> > <a href="https://mail.kde.org/mailman/listinfo/amarok-devel">
https://mail.kde.org/mailman/listinfo/amarok-devel</a><br>><br>> _______________________________________________<br>> Amarok-devel mailing list<br>> <a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a>
<br>> <a href="https://mail.kde.org/mailman/listinfo/amarok-devel">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br><br><br><br>_______________________________________________<br>Amarok-devel mailing list<br><a href="mailto:Amarok-devel@kde.org">
Amarok-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/amarok-devel">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>______________________________________________________
<br>Leo Franchi <br>4305 Charlemagne Ct <a href="mailto:lfranchi@gmail.com">lfranchi@gmail.com</a> <br>Austin cell: (650) 704 3680<br>TX, USA home: (650) 329 0125