Simple python script to change DisplaySettings during playback
#1
I'm new to Kodi development and I wanted to start off with a simple script that gets called when I press a button during playback of a video to change some playback settings (e.g. audio offset, brightness, etc.).

In C++ I can call
CDisplaySettings::GetInstance().SetVerticalShift(float)
to change the vertical shift of the current video. However, I can't seem to find any way to do this with a simple python script that I want to execute when a certain button/key is pressed.

As an alternative to a python script, is there another approach to achieve this without having to actually compile C++ code and/or Kodi itself?
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Simple python script to change DisplaySettings during playback00