kdeconnect-kde/core/plugins/pausemusic
Aleix Pol b88897847b Reorganize sources
We broke kded into core and kded, core contains the library with the backends
and plugins.
Also we renamed libkdeconnect to interfaces.
2014-06-14 15:22:40 +02:00
..
CMakeLists.txt Reorganize sources 2014-06-14 15:22:40 +02:00
kdeconnect_pausemusic.desktop Reorganize sources 2014-06-14 15:22:40 +02:00
kdeconnect_pausemusic_config.desktop Reorganize sources 2014-06-14 15:22:40 +02:00
pausemusic_config.cpp Reorganize sources 2014-06-14 15:22:40 +02:00
pausemusic_config.h Reorganize sources 2014-06-14 15:22:40 +02:00
pausemusic_config.ui Reorganize sources 2014-06-14 15:22:40 +02:00
pausemusicplugin.cpp Reorganize sources 2014-06-14 15:22:40 +02:00
pausemusicplugin.h Reorganize sources 2014-06-14 15:22:40 +02:00
README Reorganize sources 2014-06-14 15:22:40 +02:00

This simple plugin will just listen to "kdeconnect.telephony" like the telephony
plugin does. It reads the field "event", to see if it is "ringing" or "talking"
and then pauses all the music/video players reachable through MPRIS. When the
same kind of package is received but the boolean "isCancel" is set to true, it
will resume the playback of all the paused sources.