21ab5a4f81
Mostly kDebug -> qCDebug Also some KCmdLineArgs -> QCommandLineParser Conflicts: cli/kdeconnect-cli.cpp core/CMakeLists.txt core/backends/lan/lanlinkprovider.cpp core/daemon.cpp core/pluginloader.cpp interfaces/CMakeLists.txt kio/kiokdeconnect.cpp plugins/mousepad/CMakeLists.txt plugins/mousepad/mousepadplugin.h plugins/mpriscontrol/mpriscontrolplugin.cpp plugins/sftp/sftpplugin.cpp |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_pausemusic.desktop | ||
kdeconnect_pausemusic_config.desktop | ||
pausemusic_config.cpp | ||
pausemusic_config.h | ||
pausemusic_config.ui | ||
pausemusicplugin.cpp | ||
pausemusicplugin.h | ||
README |
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.