2016-06-18, 18:45
(2016-06-18, 17:11)Helly1206 Wrote:(2016-06-16, 07:03)ed_davidson Wrote:(2016-05-26, 00:54)Durex Wrote: Hello,
Trying to figure out a python code to automatically have Kodi switch from Xonfluence skin to Confluence skin when I run a certain action. I am able to get it to the appearance settings menu (where then you can switch the skin) but is there a code to have it switch to Confluence automatically?
Here is the code I have to get to appearance settings menu. Any help would be much appreciated.
if skin!= "skin.confluence":
dialog.ok('Durex Wizard','Please switch to the default Confluence skin','before performing an update.','')
xbmc.executebuiltin("ActivateWindow(appearancesettings)")
return
Did you ever figure out how to do this??
I can switch the skin using profiles but not without.
You can probably do this using json. You can have a look at my audio switch addon: audioswitch
I don't know if it is possible to switch skins like this, but I hope this helps.
Helly.
I did try xbmc.executebuiltin unloadskin()
Then later XBMC.executebuiltin reloadskin()
But that didn't update the skin changes.
Sent from my iPhone