Direct link to skin settings
#1
Hi all,

Is anyone familiar with "ActivateWindow()" and its parameters?

I would like to add a button to my skin which directly opens the "DialogAddonInfo.xml" with my addon / skin settings.
Probably I need to refer somehow to the "id" of my addon, which is described in "addon.xml".

My addon.xml has the following id: <addon id="id="skin.audi_rns"

So what I would like to get to work would be something like: ActivateWindow(DialogAddonInfo.xml, skin.audi.rns)
Or ActivateWindow(146, skin.audi.rns)


Thanks in advance!
Jeroen
Reply
#2
Wow,

Don't bother the question, my own example works Smile
Reply
#3
Drop the second part as that wont do anything as it's used for opening a directory in the window. Also don't use the ID number as they can change, instead use the name.

ie addoninformation

http://kodi.wiki/view/Window_IDs
Reply
#4
Thanks, its "ActivateWindow(addoninformation)" now.

Unfortunately this only works if I previously manually went to;
=> My Addons =>Skin => AudiRns (my skin) => Configure

Afterwards the link works, but if I don't, I guess the listitems are emtpy en kodi blacks out when calling addoninformation. Sad
Reply
#5
The information dialogs only work contextually.
Reply
#6
Ok,

Is it maybe possible to preset this context (like with python during boot)?

I see a lot of "setProperty" coding on the internet:

- xbmcgui.Window(xbmcgui.getCurrentWindowId()).setProperty("CURRENTARTIST", artist)

- listitem = xbmcgui.ListItem(label=movie, iconImage='DefaultVideo.png', thumbnailImage=thumb)
listitem.setProperty( "icon", thumb )

But none of them seem to represent
- $INFO[ListItem.Property(Addon.Name)]
- ListItem.Property(Addon.Type)
- ...
Reply

Logout Mark Read Team Forum Stats Members Help
Direct link to skin settings0