<br><br><div><span class="gmail_quote">On 8/24/07, <b class="gmail_sendername">Maximilian Kossick</b> &lt;<a href="mailto:mkossick@gmx.de">mkossick@gmx.de</a>&gt; 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&#39;s e-mail to Mario too.<br><br>Mario, you can get data for the current track from the &quot;amarok-current&quot;<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 &quot;amarok-current&quot; dataengine I can get this values from amarok config:<br><br>AmarokConfig::showMoodbar(); &lt;- Show the moodbar?<br>AmarokConfig::moodsWithMusic(); &lt;- .mood files with the music file
<br>AmarokConfig::makeMoodier(); &lt;- Make modifer?<br>AmarokConfig::alterMood(); &lt;- 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>&gt; That looks really neat!<br>&gt;<br>&gt; I am thinking we might want to merge this with the &quot;current track&quot;
<br>&gt; applet that Leo is currently working on, and make an applet that can<br>&gt; be used both within Amarok2&#39;s new context view, or placed directly to<br>&gt; the desktop! Amarok will need to provide a data source in both cases.
<br>&gt;<br>&gt; That would provide the best of both worlds and make sure that we don&#39;t<br>&gt; duplicate too much effort! :-)<br>&gt;<br>&gt; - Nikolaj<br>&gt;<br>&gt; On 8/24/07, Mario Young &lt;<a href="mailto:maye.co@gmail.com">
maye.co@gmail.com</a>&gt; wrote:<br>&gt; &gt; Hi Plasma/Amarok Developers<br>&gt; &gt;<br>&gt; &gt; I&#39;m very happy that show you my first(hope not the last) plasma applet<br>&gt; &gt; the plasma_moodbar thanks to Joseph Rabinoff and Gav Wood (the guys who
<br>&gt; &gt; make the hard coding).<br>&gt; &gt;<br>&gt; &gt; To finish this applet I need to know how I get the info from amarok<br>&gt; &gt; that I need(current track, current time and amarok config)<br>&gt; &gt;<br>&gt; &gt; I&#39;m attaching the source code and a screenshot
<br>&gt; &gt; and please send me some feedback.<br>&gt; &gt;<br>&gt; &gt; Best Regards,<br>&gt; &gt;<br>&gt; &gt; Mario Young<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; Amarok-devel mailing list<br>&gt; &gt; <a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>&gt; &gt; <a href="https://mail.kde.org/mailman/listinfo/amarok-devel">https://mail.kde.org/mailman/listinfo/amarok-devel
</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; Amarok-devel mailing list<br>&gt; <a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>&gt; <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>