2017-10-19, 15:51
So here's the scenario. I like to have some TV going while I fall asleep - but I only want to listen to it, I don't need it on screen. Unfortunately, I have an all-in-one PC, so I can't turn the display off separately.
What I'm looking for is a way to blank or heavily dim the screen - probably at the press of a button on my remote. The absolute ideal would be to send the display to sleep (so I don't get the backlight bleed). As far as blanking goes - I know it's possible to simply adjust the screen offset so it pushes the video offscreen.
I'm not against writing a plugin to do this - but I've never developed a plugin for Kodi.
a) Is there already a plugin that can do this or something similar?
b) Is there perhaps a generalized scripting plugin that could do something like adjust the v-offset on the push of a button? Or turn off the display sleep inhibitor?
c) If not, where would I start on developing a plugin to do this?
Hopefully someone can point me in the right direction! TIA.
What I'm looking for is a way to blank or heavily dim the screen - probably at the press of a button on my remote. The absolute ideal would be to send the display to sleep (so I don't get the backlight bleed). As far as blanking goes - I know it's possible to simply adjust the screen offset so it pushes the video offscreen.
I'm not against writing a plugin to do this - but I've never developed a plugin for Kodi.
a) Is there already a plugin that can do this or something similar?
b) Is there perhaps a generalized scripting plugin that could do something like adjust the v-offset on the push of a button? Or turn off the display sleep inhibitor?
c) If not, where would I start on developing a plugin to do this?
Hopefully someone can point me in the right direction! TIA.