Summary: | Detect currently playing music and set status message to current song | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Francesco Nwokeka <francesco.nwokeka> |
Component: | kded-module | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | alinm.elena, kde, mklapetek |
Priority: | NOR | ||
Version: | git-latest | ||
Target Milestone: | 0.4.0 | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Francesco Nwokeka
2011-03-28 13:04:08 UTC
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 |