Applets with APIs (for scripting)
Leo Franchi
lfranchi at kde.org
Fri Dec 12 19:42:38 CET 2008
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
---
Leo Franchi (650) 704 3680
Tufts University 2010
lfranchi at kde.org
leonardo.franchi at tufts.edu
More information about the Amarok-devel
mailing list