Registered Member
|
Hi all!
I want to create a little script for Amarok. Basically it should remote control XBMC playlists via HTTP API (http://wiki.xbmc.org/index.php?title=We ... _Reference). The commands should integrate into the context menu, allowing to append/play titles in XBMC. I know there is a new scripting engine in amarok2 and since I use 1.3 at the moment, I would like to know (1) which version is "better" resp. "easier" for modifying the context menu? (2) where can I find guides or tutorials regarding these topics? thanks for your suggestions duke |
KDE CWG
|
1.3 is a version so old it's difficult to discuss. However, the old Scripting How-To is still online at http://amarok.kde.org/wiki/Script-Writing_HowTo.
In contrast, our modern How-To: http://amarok.kde.org/wiki/Development/ ... _HowTo_2.0 . If you need the API, it's here: http://amarok.kde.org/wiki/Development/Script_API Once your script is finished, perhaps you'll want to share it with the world here: http://www.kde-apps.org/index.php?xcontentmode=57 Valorie |
KDE Developer
|
at least use 1.4.10. 1.3 is like.... holy **** we released that at least 3.4 eons ago.
but the 2.x scripting interface is considerably more powerful. you might also want to consider making it a context applet, as then you have a convenient GUI to control it with. it would need to be written in c++, but there are a *lot* of docs on how to write a plasma applet in c++ (and the amarok applets are almost the same). leo
Amarok developer.
lfranchi, proud to be a member of KDE forums since 2008-Oct. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]