Plasma + MoodBar ( my first applet )

Mario Young maye.co at gmail.com
Wed Aug 29 21:34:11 CEST 2007


On 8/24/07, Maximilian Kossick <mkossick at gmx.de> wrote:
>
> Sending Nikolaj's e-mail to Mario too.
>
> Mario, you can get data for the current track from the "amarok-current"
> dataengine (in src/context/engines/current). If you need more data from
> the
> engine(fx the url), please tell us.




I dont think that with the "amarok-current" dataengine I can get this values
from amarok config:

AmarokConfig::showMoodbar(); <- Show the moodbar?
AmarokConfig::moodsWithMusic(); <- .mood files with the music file
AmarokConfig::makeMoodier(); <- Make modifer?
AmarokConfig::alterMood(); <- Angry, Frozen, Happy.


How can I get this values? maybe dbus.

Mario Young




Leo, can we make the dataengine return a QVariantMap instead of a
> QVariantList? That would make it a lot easier to return new entries from
> the
> data engine without breaking backwards compatibility. The Xesam guys have
> defined names for the different fields of audio metadata, we could use
> those
> names as keys.
>
> Max
>
> On Friday 24 August 2007, Nikolaj Hald Nielsen wrote:
> > That looks really neat!
> >
> > I am thinking we might want to merge this with the "current track"
> > applet that Leo is currently working on, and make an applet that can
> > be used both within Amarok2's new context view, or placed directly to
> > the desktop! Amarok will need to provide a data source in both cases.
> >
> > That would provide the best of both worlds and make sure that we don't
> > duplicate too much effort! :-)
> >
> > - Nikolaj
> >
> > On 8/24/07, Mario Young <maye.co at gmail.com> wrote:
> > > Hi Plasma/Amarok Developers
> > >
> > > I'm very happy that show you my first(hope not the last) plasma applet
> > > the plasma_moodbar thanks to Joseph Rabinoff and Gav Wood (the guys
> who
> > > make the hard coding).
> > >
> > > To finish this applet I need to know how I get the info from amarok
> > > that I need(current track, current time and amarok config)
> > >
> > > I'm attaching the source code and a screenshot
> > > and please send me some feedback.
> > >
> > > Best Regards,
> > >
> > > Mario Young
> > >
> > >
> > >
> > > _______________________________________________
> > > Amarok-devel mailing list
> > > Amarok-devel at kde.org
> > > https://mail.kde.org/mailman/listinfo/amarok-devel
> >
> > _______________________________________________
> > Amarok-devel mailing list
> > Amarok-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/amarok-devel
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20070829/2ddb7afd/attachment.html 


More information about the Amarok-devel mailing list