antonioparraga / braviarc

Python library for Sony Bravia TV remote control
MIT License
79 stars 41 forks source link

setAudioVolume as a string #21

Closed s3Pol closed 5 years ago

s3Pol commented 6 years ago

Hi,

I just find out that the volume should be set as a string not as int. I also tested with a string and the set works fine...

"If you look at the setAudioVolume method definition in the audio.getMethodTypes() response:

["setAudioVolume", [{
    "target": "string",
    "volume": "string"
}], ["int"], "1.0"]

The volume needs to be given as a string and not as an integer."

https://github.com/waynehaffenden/bravia/issues/3

rchl commented 6 years ago

I have fixed that in a fork of this repo. Hopefully it will eventually replace original code.