Description
Short feature/function description
An AirPlay receiver can have buttons (both physical and software) to for instance play/pause or change volume. These kinds of controls are currently not supported. It seems to require a Zeroconf service to be published by the client, which it then uses to post simple DACP commands to. So it should not be that hard to implement. At least the basic controls.
Documentation can be found here:
https://openairplay.github.io/airplay-spec/audio/remote_control.html
I'm not entirely sure how to deal with commands like next or previous right now. Ideally, this should programmatically be signaled back to the developer which can take action. Current interface doesn't support that in any way, so it will likely be left for later when I add a more flexible interface.
What needs to be done?
- Add Zeroconf service for the remote control
- Add basic web server that handles incoming commands
- Implement support for play, pause, playpause and stop
Is this a breaking change?
No
Anything else worth knowing?
Relates to #1059
Volume controls can be implemented quite easily after #1069 has been implemented.