Version: git-latest (using KDE 4.6.1) OS: Linux Add the possibility to detect currently playing music from the desktop and set the user's peronal message to the song info( "<artist>-<song name>" ). This feature should be activated by the user via settings + a button on the contact-list to quickly switch settings ( on/off ). Reproducible: Didn't try
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
This is functionality that should NOT be done in the contact list. The accounts remain online even after you close the contact list, and it's designed to get away from being one monolithic application. I'm not sure where the right place is it could be done as an Amarok plugin, or in a daemon like the approver (or the integration daemon?) which are always running when telepathy is.
Git commit 4e41d798546cff4163fde3e62e09a7d639b88029 by Martin Klapetek. Committed on 10/10/2011 at 16:22. Pushed by mklapetek into branch 'master'. New stacking system for plugins, code refactor, global presence integration, last used presence saving (system-wide), improvements in mpris-players detection and auto-away system Reviewed-by: David Edmundson REVIEW: 102804 FEATURE: 269605 M +15 -32 autoaway.cpp M +2 -6 autoaway.h M +0 -14 global-presence.cpp M +1 -4 global-presence.h C +23 -30 telepathy-kded-module-plugin.cpp [from: autoaway.h - 057% similarity] A +62 -0 telepathy-kded-module-plugin.h [License: LGPL (v2.1+)] M +21 -20 telepathy-module.cpp M +2 -2 telepathy-module.h M +106 -69 telepathy-mpris.cpp M +7 -6 telepathy-mpris.h http://commits.kde.org/telepathy-kded-module/4e41d798546cff4163fde3e62e09a7d639b88029