| Summary: | Add buttons in the plasmoid to send keys (next, previous, pause, play, volume+, volume-) | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | Raphaël Jakse <raphael.kde> |
| Component: | plasmoid | Assignee: | Albert Vaca Cintora <albertvaka> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | matthijstijink, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Raphaël Jakse
2019-07-09 19:23:43 UTC
You can already control the phone's music using the "kcapp" application (it's experimental though, so it might not currently be packaged for your distribution). In the future, we expect to enable MPRIS controls for it too, so it can be controlled like other media players on your desktop. There's no timeline for this though. Regarding turning the screen on/off: what would you use it for? I'm not entirely sure this is even possible in Android. > You can already control the phone's music using the "kcapp" application (it's experimental though, so it might not currently be packaged for your distribution). Indeed it is not. But it is great to know! > In the future, we expect to enable MPRIS controls for it too, so it can be controlled like other media players on your desktop. There's no timeline for this though. Nice :-) Another idea I had when writing this bug report: music often can be controlled by touching buttons on a notification. More generally, some apps have buttons in their notifications. Would it be worth to be able to activate them from KDEConnect? > Regarding turning the screen on/off: what would you use it for? I'm not entirely sure this is even possible in Android. To scare my neighbors :-) I don't remember why I mentioned this. This would probably not be a killer feature. This is certainly possible since scrcpy does provide this feature. The screen is turned on when scrcpy is run, or when the screen is right-clicked on the computer. Turning the screen off is also possible by pressing a key on the keyboard. See https://github.com/Genymobile/scrcpy/#shortcuts It's probably done by sending KEYCODE_POWER, KEYCODE_WAKEUP or KEYCODE_SLEEP to the device (https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_WAKEUP). > Another idea I had when writing this bug report: music often can be controlled by touching buttons on a notification. More generally, some apps have buttons in their notifications. Would it be worth to be able to activate them from KDEConnect?
That should already work. Please open another bug if it does not.
Indeed, I haven't found a way to interact with the VLC notification. I will open a new bug for that. Feel free to close this bug :-) The upcoming 1.4 release has a UI for controlling media on the phone |