This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Consol external soft - reading amarok

Tags: None
(comma "," separated)
b0hoja
Registered Member
Posts
1
Karma
0
OS
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.
User avatar
Sentynel
KDE Developer
Posts
285
Karma
1
OS
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.




Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]