Kodi Community Forum

Full Version: Set constant audio volume
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way to fix the audio output from Kodi, but still use the volume controls? I know, it sounds like a strange question, but what I am trying to do is change the volume within Kodi, and then read its value in a python script and set my AVR accordingly, but still get the same output from Kodi. That way, I would be able to control my AVRs volume from within the XBMC remote.
you need to extend AESink.h, overwrite SetVolume and delegate this to your external volume switch.

I would just make the xbmc volume ignore the volume keys and bind them to your custom script.
But that doesn't work when using the xbmc remote. So the only way to get it done is a dirty hack?
Implement your own sink by extending AESink.h and overwrite SetVolume as said above.