Kodi Windows HDR 1.5.0
Updated at 24-12-2019 (forked from Kodi 19 alpha master).
NEW: Toggles Windows HDR On/Off from power options menu.
To use HDR features enable Windows HDR switch before open Kodi.
If video has HDR metadata enables proper rendering.
Can also play SDR content with Windows HDR switch ON and it is displayed correctly.
And HDR content played with Windows HDR switch OFF is displayed correctly too (with no HDR).
Only uses Microsoft Windows standard API to HDR passthrough.
If Windows HDR switch is turned OFF, it behaves like the normal Kodi edition.
Tested on Intel NUC 8i3BEK + Dennon AVX-1600H + Sony TV KD-55AG9 OLED.
Not tested on NVIDIA hardware but some users reported it work too.