188adfbee7
Summary: When the music is resumed during the call it was paused again when the call ends Bug: 400787 Test Plan: Get called, resume music during call, check state after call Reviewers: #kde_connect, apol Reviewed By: #kde_connect, apol Subscribers: kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D16809 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_pausemusic.json | ||
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.