bsharper / atv-desktop-remote

A simple app to allow you to control an Apple TV from your desktop
MIT License
193 stars 11 forks source link

Volume controls. #4

Open ersan opened 2 years ago

ersan commented 2 years ago

I know everyone in the process of transitioning between MRP and Companion - but wanted to suggest adding volume up/down controls once it's done. I think volume was part of MRP as well since it worked on the old Remote app.

bsharper commented 2 years ago

I just added this to the latest version. There are new buttons, and when the program is active you can use + or - to increase or decrease volume. I originally tried grabbing the official volume up / down events, but had some issues.

Either way, if you install Python 3 and Node you can try the updated code.

bcassid commented 1 year ago

The volume controls are not working for me. The controls are there, but when I click them, nothing happens. Everything else works great. Is there something else that needs to be setup?

bsharper commented 1 year ago

Hi @bcassid, the volume controls are unique because what happens when the ATV gets the command varies depending on setup.

If you want to see if the command is being sent properly, try connecting a Bluetooth audio device (like AirPods) to your ATV and then see if the volume commands work. If it only works on Bluetooth devices, then you are probably using IR from the remote to change the volume. You can try changing how volume commands are setup on the ATV. I think changing from IR to CEC might fix it, but it depends on your TV and whether or not the ATV supports your TV's CEC implementation for volume controls.

Good luck, if you figure something out let me know so I can document it. Thanks!