-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume up and Volume down don't work #8
Comments
I don't currently have an API for sending user controls, button presses or raw commands to a specific device. That would probably be a good addition to the API. I don't have time to write that API at the moment, but I will gladly accept a pull request. |
Just thought I'd add my 👍 to this. Edit: Edit: found a weird quirk (read: bug). The volume functions only work after I call |
@RSully Did you need to do anything else to get the volume working? I've tried running list_devices() first and the volume controls are still not doing anything. |
@RSully I found the same - vol doesn't work after cec.init(), but does work after cec.list_devices() |
I suspect this is a bug/feature in the underlying libcec API. It probably needs to detect which devices are present before it knows which address to send volume messages to. |
Okay, so they probably do work... But I'm not sure how. They aren't part of the device class, so I'm not 100% sure what they do. I can't run, for example
tv.volume_up()
, and runningcec.volume_up()
just returns true.Should these be able to send volume up and down commands to the TV?
The text was updated successfully, but these errors were encountered: