When I press play/pause on my PC, the music playing through sndcpy should play/pause.
Just like how it would work if the audio was playing through a bluetooth speaker, and I pressed play/pause on said speaker.
similar for stop, skip, skip back, etc.
Bonus points for reporting media information and state to the OS.
e.g., so it shows up in the popup that windows shows when I press the play/pause button on my keyboard, etc.
I had a quick look and didn't see a feature request or existing support for this idea.
while sndcpy is connected, the media control commands should be sent through sndcpy to the android device, causing the media on the android device to act in accordance with the control.
Would also be fine if scrcpy did this instead, but I think it fits better here.
ideally, the media info interfacing should work well with anything else that interfaces with the media controls and information APIs of the OS you're on
e.g. rainmeter plugins or whatever that might exist, which show "now playing" information.
don't steal the media hotkeys from the OS's API, if possible, because sometimes I want to use them to control some other media source; for example, listening to music from an app on my PC seems to interact nicely with pausing that, and playing a youtube video in chrome. The media that the media controls control depends on which one I last play/paused on.
I don't know much about what would be involved in all of this; I imagine there's some fairly niche and OS-specific knowledge required.
But if someone does happen to know, and adds such to this ticket, I could maybe have a go at making a PR for it, for windows at least.
The idea is:
When I press play/pause on my PC, the music playing through sndcpy should play/pause.
Just like how it would work if the audio was playing through a bluetooth speaker, and I pressed play/pause on said speaker.
similar for stop, skip, skip back, etc.
Bonus points for reporting media information and state to the OS.
e.g., so it shows up in the popup that windows shows when I press the play/pause button on my keyboard, etc.
I had a quick look and didn't see a feature request or existing support for this idea.
while sndcpy is connected, the media control commands should be sent through sndcpy to the android device, causing the media on the android device to act in accordance with the control.
Would also be fine if scrcpy did this instead, but I think it fits better here.
I don't know much about what would be involved in all of this; I imagine there's some fairly niche and OS-specific knowledge required. But if someone does happen to know, and adds such to this ticket, I could maybe have a go at making a PR for it, for windows at least.