Button mapping script to toggle VS10 Engine On/Off v1.1
New: Added ability to toggle VS10 Engine on/off during video playback by remote. The updated script has to be mapped as both Global and Fullscreen Video shortcuts.
Description: This script changes the Kodi Settings > System > CoreELEC > For SDR8, SDR10, HDR10, HDR10+, HLG between off and the previous value. The VS10 status notification pop-up is anchored to the state of SDR8.
Comment out any settings in the script you don’t wanted toggled.
example: to only toggle VS10 Engine on/off for SDR8 and SDR10 videos:
SETTINGS = [
"coreelec.amlogic.dolbyvision.vs10.sdr8",
"coreelec.amlogic.dolbyvision.vs10.sdr10",
#"coreelec.amlogic.dolbyvision.vs10.hdr10",
#"coreelec.amlogic.dolbyvision.vs10.hdr10plus",
#"coreelec.amlogic.dolbyvision.vs10.hdrhlg",
#"coreelec.amlogic.dolbyvision.vs10.dv"
]
Setup Instructions
-
Open Keymap Editor Kodi Addon, and map
Minimise
to the remote button you want to use to toggle VS10 on/offa) Edit > Global > System > Minimise > Edit key
b) Edit > Fullscreen Video > System > Minimise > Edit key
Save & Exit Keymap Editor -
Open SSH, copy & paste the command below:
sed -i 's|>minimize<|>runscript(/storage/.kodi/userdata/keymaps/toggle_vs10.py)<|g' /storage/.kodi/userdata/keymaps/gen.xml
-
Copy
toggle_vs10.py
to:Samba
Userdata/keymaps/toggle_vs10.py
[/storage/.kodi/userdata/keymaps/toggle_vs10.py
] -
Restart Kodi
Download
v1.2 toggle_vs10.py (3.9 KB) - 2024/10/26
- bug fix: improved resuming the video to the same time point
v1.1 toggle_vs10.py (4.7 KB) - 2024/10/25
- added ability to toggle VS10 Engine on/off during video playback
v1.0 toggle_vs10.py (2.9 KB) - 2024/10/22
- toggle VS10 Engine settings on/off by remote button