kdeconnect-kde/plugins/pausemusic
Aleix Pol a1a560c469 First approach to a KF5 port of KDE Connect
Ported using KDELibs4Support, for a smaller delta, so we can keep
developing on master until we decide not to.

At the moment, it builds and installs but tests don't pass because
of a QCA2 initialization problem I didn't manage to debug yet.

CCMAIL: kdeconnect@kde.org
2014-06-16 20:02:07 +02:00
..
CMakeLists.txt First approach to a KF5 port of KDE Connect 2014-06-16 20:02:07 +02:00
kdeconnect_pausemusic.desktop Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
kdeconnect_pausemusic_config.desktop Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
pausemusic_config.cpp First approach to a KF5 port of KDE Connect 2014-06-16 20:02:07 +02:00
pausemusic_config.h Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
pausemusic_config.ui Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
pausemusicplugin.cpp First approach to a KF5 port of KDE Connect 2014-06-16 20:02:07 +02:00
pausemusicplugin.h Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
README Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +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.