Showing window IDs
#1
Is there a way to have Kodi display the window IDs as they are called upon? Im tinkering with an old Kodi skin (XBMC technically) on an old XBMC build and I'd find it highly useful as I need to know what windows are called when.
I want to ultimately get an old skin working on new stable Kodi. Ambitious especially since I only have experience in making themes.... from 15 years ago. If nothing else maybe I'll learn a bit about skinning kodi.

Is there a debug for skinners I'm unaware of?
Image
Reply
#2
you can set debugging to true in the addon.xml file of the skin
xml:
<extension point="xbmc.gui.skin" debugging="true">

that will display the window name and xml filename on screen.

it is recommended to use the window name in your code and not the window id.
but you can look up the id in this table: https://kodi.wiki/view/Window_IDs
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2021-07-08, 23:51)ronie Wrote: you can set debugging to true in the addon.xml file of the skin
xml:
<extension point="xbmc.gui.skin" debugging="true">

that will display the window name and xml filename on screen.

it is recommended to use the window name in your code and not the window id.
but you can look up the id in this table: https://kodi.wiki/view/Window_IDs

Nice! I saw that in screenshots in other threads so I knew it was a thing. Thanks for the tip 
Image
Reply
#4
lol I messed up that reply. I hate to ask but does this forum have an edit? I tried to ninja edit but I cant find the option.
No worries anyway, guess I may have to preview before posting in the future.

Thanks again ronie
Image
Reply
#5
Any idea how this might have been handled back in Gotham era?
Image
Reply
#6
I got it working. So sorry for the newbie questions.
Image
Reply

Logout Mark Read Team Forum Stats Members Help
Showing window IDs0