Applets with APIs (for scripting)

Casey Link unnamedrambler at gmail.com
Fri Dec 12 19:46:20 CET 2008


On Fri, Dec 12, 2008 at 1:42 PM, Leo Franchi <lfranchi at kde.org> wrote:
> On 12 Dec 2008, at 18:37, Casey Link wrote:
>
>> Hey guys,
>>
>> I targeted this one at William, cause I figured he might know the most
>> about it (though peter might be able to help too). How difficult would
>> it be to create applets that had public interfaces, so scripts could
>> interact with them?
>>
>> Here is just one use case:
>> An applet which displays info about the artist like the wikipedia
>> applet, but can aggregate different sources. Perhaps the applet ships
>> with wikipedia and last.fm bio support. Someone could write a script
>> that adds relevant news (say from mtv music news) to the applet.
>
> This is exactly how the lyrics applet works. Check out context/
> LyricsManager and the LyricsEngine, as well as the AmarokLyrics script
> stuff.
>
> leo


Wow. I totally knew that. I didn't even consider it.. thought my idea
was original. Nevermind then.

Casey


More information about the Amarok-devel mailing list