Is there an addon API to overwrite volume control events?

I have an amplifier that is controlable via telnet. I also have the necessary script to achieve this from Python, i.e. from the computer where Kodi is running.
Currently, I have a remote control connected to this computer that controls Kodi via LIRC except two keys that instead are connected to this volume control script.
As a result I can control Kodi and the amplifier with the remote control independently.

However, I'd like to control the amplifier volume with Kodi itself. That means the internal volume of Kodi is always set to the maximum but the volume control/volume sliders of Kodi only control my amplifier volume directly.
I have searched a little bit but did not find such a thing, so I want to write a Kodi addon. Can you give me a hint, if this is possible with the Kodi API and what class/method I can use for it?
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
Is there an addon API to overwrite volume control events?00
This forum uses Lukasz Tkacz MyBB addons.