Kodi Community Forum
On Screen log message position - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: On Screen log message position (/showthread.php?tid=348630)



On Screen log message position - csvke - 2019-10-22

How can I change the position of the overlaying text of log position?
ImageI want to put it at the lower right hand corner.


RE: On Screen log message position - ronie - 2019-10-22

you can't, i'm afraid.
the debug info is fully handled by kodi itself and can't be controlled by the skin.


RE: On Screen log message position - csvke - 2019-10-22

(2019-10-22, 10:13)ronie Wrote: you can't, i'm afraid.
the debug info is fully handled by kodi itself and can't be controlled by the skin.

Thanks.
Then just to follow up, can I present a keyboard shortcut to toggle it on / off?


RE: On Screen log message position - ronie - 2019-10-22

sure, ToggleDebug should do the trick.
https://kodi.wiki/view/List_of_built-in_functions#Application_built-in.27s


RE: On Screen log message position - csvke - 2019-10-22

Thanks.

I have added a keyboard.xml from userdata folder, where to save / find the .xml file is here for various Kodi platforms.

Code:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<keymap> 
    <global> 
        <keyboard> 
            <F5>ReloadSkin()</F5>
            <F6>ToggleDebug</F6>
            <F7>Skin.ToggleDebug</F7>
            <F8>Notification(Testing 123,Hello world)</F8> 
        </keyboard> 
    </global> 
</keymap>

For those who are keen to develop / tweak skin, I think it's a great tip to provide debug messages live on Kodi.
(I personally find it a bit difficult to find useful information and the wiki is a bit outdated - but otherwise great)