9639d5cd03
Summary: Using pulseaudio via pacmd for controlling the system volume is way easier than using KMix. Same could be done to control the system volume in the MPRIS Plugin Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: anthonyfieroni, thomasp, albertvaka, #kde_connect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D7922 |
||
---|---|---|
.. | ||
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.