Registered Member
|
Hi, i'm a student devlopping in C under Arch. Since i'm a huge consol fan i was looking in a way implementing Amarok in it. I already found standart input to amarok (amarok --play, --next etc..) but i'm looking after output.
Basicly a way to get the status of Amarokk at some point of time and read it to be able to show some stuff around it. If there is already a soft that is doing that it would be nice to get the name in order to try to find how it works. |
KDE Developer
|
You're after the DBus interface, which allows reading status and controlling Amarok, either from other software using the DBus libraries, or through a command line DBus client. My personal favourite is mdbus2 - start it in interactive mode with mdbus2 -i and type org.kde.amarok to get started looking around the functions Amarok provides. Amarok implements the DBus media player specs for both freedesktop and mpris, so you can also look those up.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]