[Bug 269605] Detect currently playing music and set status message to current song

Alin M Elena alinm.elena at gmail.com
Mon Mar 28 14:15:28 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=269605


Alin M Elena <alinm.elena at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alinm.elena at gmail.com




--- Comment #1 from Alin M Elena <alinm elena gmail com>  2011-03-28 14:15:27 ---
for amarok... and I suspect for other mpris compatible players you can get the
info about the playing track via

qdbus org.mpris.MediaPlayer2.amarok /Player
org.freedesktop.MediaPlayer.GetMetadata

that returns a QVariantMap

and the state of the track via the signal
org.mpris.MediaPlayer2.amarok /Player org.freedesktop.MediaPlayer.TrackChange

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KDE-Telepathy mailing list