Moodbar .mood generation

Leo Franchi lfranchi at kde.org
Fri Oct 29 14:03:48 CEST 2010


On Friday, October 29, 2010 09:06:09 AM Nikhil Marathe wrote:
> Hi,
> 
> I've been editing the Google Code-In page and it seems to me that
> making Amarok capable of generating moodbar files (
> http://bugs.kde.org/show_bug.cgi?id=220327 ) instead of using an
> external script
> is a relatively easy task (doing something similar to the script
> through an interface).
> 
> In fact, this script http://kde-apps.org/content/show.php?content=125137
> already has the process started, the student will just have to do it
> for all files in the local collection and add a UI to track the status
> or something.
> And there should be a way to regenerate when new songs are added to
> the collection.
> 
> I'm willing to mentor, but I would like to clarify a few things before that.
> 
> 1. Do Amarok scripts run in separate threads or the same thread as all
> the others? We don't want a long running script blocking others.
>

Can't remember off the top of my head. They are definitely in-process.

> 2. Would emulating the bash script in Python/Ruby/Language and making
> it interface to amarok with a GUI be a good way to do this, or should
> it be done in C++ and be a part of the Amarok code base?

It would have to be done in QtScript, then it can take full advantage of the 
Amarok Scripting API. We don't support non-QtScript in amarok2. It could also 
be done as a c++ feature of course... but that would raise the bar :)

leo

--
leo at kdab.com                                 KDAB (USA), LLC
lfranchi at kde.org                             The KDE Project



More information about the Amarok-devel mailing list