<br><br><div><span class="gmail_quote">On 8/24/07, <b class="gmail_sendername">Maximilian Kossick</b> <<a href="mailto:mkossick@gmx.de">mkossick@gmx.de</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;">
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.
</blockquote><div><br><br><br>I dont think that with the "amarok-current" dataengine I can get this values from amarok config:<br><br>AmarokConfig::showMoodbar(); <- Show the moodbar?<br>AmarokConfig::moodsWithMusic(); <- .mood files with the music file
<br>AmarokConfig::makeMoodier(); <- Make modifer?<br>AmarokConfig::alterMood(); <- Angry, Frozen, Happy.<br><br><br>How can I get this values? maybe dbus.<br><br>Mario Young<br><br><br><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;">
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.<br><br>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></blockquote></div>