4

I want to know how can I get the current song information (title, artist, album etc) no matter what player is running. I saw some KDE widget can do that.

How can I do that? is there any standard protocol or interface to get song information?

2

2 Answers 2

3

A simple method from the command line would be to read the output from pulseaudio to list properties of a sink input by running the following command in a terminal

pacmd list-sink-inputs

By this we can see the application that initiated a stream as well as other song properties from metatags (including artist, title, etc.) if available.

0

There's no standard protocol to do that, the widget you're talking about are just handling a lot of protocols. For exemple, Amarok has is own way, VLC another etc...

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .