Closed mrfibreoptic closed 3 years ago
You can use the plugin HTTP API to send a virtual volume-up or volume-down to the Apple TV. This, however, works only if you can control the volume directly on the Apple TV (infrared via Siri Remote is not supported).
POST http://<YOUR-HOST-IP-ADDRESS>:<apiPort>/<UNIQUE-NAME>
{
"commands": [{ "key": "volumeup" }]
}
or
POST http://<YOUR-HOST-IP-ADDRESS>:<apiPort>/<UNIQUE-NAME>
{
"commands": [{ "key": "volumedown" }]
}
where do I put the command?
any chance you could create a volume up shortcut that you could share so i can understand better? apologies for being a pain
Can this code be used in 'apple shortcuts' as script to control volumeup & volumedown on the Apple TV? could you post or reply an example. cheers