Quote:So I need a way for Kodi to disable the windows screen blanker as long as Kodi is active.
I don't think that is a possibility, I don't know how you've set-up, but I suspect a PC and the flat panel (maybe AVR between) and thinking on the wild side, a WshShell script to flip from your PC display to your flat panel (it's an Icon on my desktop that starts a Wshell batch file, it launches Kodi on the second display and closes out the PC display, and on exit of Kodi the batch file flips back and returns the display to the PC). Looking at
Add-on:Logoff (wiki) Not really a screensaver, but makes your system automatically log off the active XBMC/Kodi profile according to your "Screensaver time" and I'm wondering if this add-on kicking in would be made to trigger the exit of Kodi and the display returns to the desktop?
https://kodi.tv/addon/screensaver/logoff and this reasonably active forum
https://forum.kodi.tv/showthread.php?tid=198405
Code:
Dim WshShell
Dim scv
Set svc=getobject("winmgmts:root\cimv2")
Set sh = CreateObject("WScript.Shell")
Set WshShell = WScript.CreateObject("WScript.Shell")
Const DELAY = 1
'switch to TV only
execCMD = """C:\Windows\System32\DisplaySwitch.exe""/internal"
Wshshell.Run execCMD,2,false
'Launch Kodi
WshShell.CurrentDirectory = "C:\Program Files (x86)\XBMC\"
execCMD = """C:\Program Files (x86)\Kodi\Kodi.exe"""
Wshshell.Run execCMD,3,true
'switch to LCD only
execCMD = """C:\Windows\System32\DisplaySwitch.exe""/external"
Wshshell.Run execCMD,2,false
Name it flip.vbs and call it with this in the icon target "C:\Program Files (x86)\your location-extras\flip.vbs" and startin "C:\Program Files (x86)\your location-extras"
Note: I'm only looking at this from a Kodi perspective, perhaps a windows solution might be the trick and all of this is under the assumption, that when there is no video signal on your OLED, the panel is dark.