kdeconnect-kde/plugins/pausemusic
Alexander Lohnau 1631ada5b3 Simplify KDEConnectPlugin::recievePacket
- We do not need the return type. If a plugin declares it can handle the
  packet it should do so. We don't have any fallback logic in place and
  the packet types are namespaced with the plugin IDs anyway.

- Provide a default implementation with a warning, not all plugins need
  to overwrite this
2023-08-03 20:49:44 +02:00
..
CMakeLists.txt plugins/pausemusic: Clean up/modernize CMake code 2023-07-31 06:39:08 +00:00
kdeconnect_pausemusic.json SVN_SILENT made messages (.desktop file) - always resolve ours 2023-08-01 01:39:50 +00:00
kdeconnect_pausemusic_config.qml Improve and fix pluging modules 2022-12-14 16:46:57 +00:00
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 [pausemusic] Add option to not unpause music once call has finished. 2020-05-20 21:44:33 +00:00
pausemusicplugin-win.cpp Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
pausemusicplugin-win.h Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
pausemusicplugin.cpp Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
pausemusicplugin.h Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +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.