kdeconnect-kde/plugins/pausemusic
Alexander Lohnau b54e739753 Do not make m_ui instance a ptr
By having it as a simple member variable, we do not need to take care of deleting it manually
2023-07-30 07:27:45 +00:00
..
CMakeLists.txt
kdeconnect_pausemusic.json
kdeconnect_pausemusic_config.qml
pausemusic_config.cpp Do not make m_ui instance a ptr 2023-07-30 07:27:45 +00:00
pausemusic_config.h Do not make m_ui instance a ptr 2023-07-30 07:27:45 +00:00
pausemusic_config.ui
pausemusicplugin-win.cpp
pausemusicplugin-win.h
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.