opening skin selection dialog disabled due to entry in advancedsettings

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slinuxgeek Offline
Senior Member
Posts: 181
Joined: Feb 2012
Reputation: 0
Exclamation  opening skin selection dialog disabled due to entry in advancedsettings Post: #1
Here are the contents of my advancedsettings.xml:

<advancedsettings>
<lookandfeel>
<skin>skin.custom</skin>
</lookandfeel>
</advancedsettings>

This removed the skin selection option from my appearancesettings window and my custom skin is selected by default.

Now, if I want to open the skin selection dialog on click event of a button during development, what to write on the <onclick> event of that button?
find quote
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #2
(2012-08-10 12:35)slinuxgeek Wrote:  Here are the contents of my advancedsettings.xml:

<advancedsettings>
<lookandfeel>
<skin>skin.custom</skin>
</lookandfeel>
</advancedsettings>

This removed the skin selection option from my appearancesettings window and my custom skin is selected by default.

Now, if I want to open the skin selection dialog on click event of a button during development, what to write on the <onclick> event of that button?

not possible with built-in commands. (don“t know if it can be done with a script)
(This post was last modified: 2012-08-10 15:03 by phil65.)
find quote
ubuntuxbmcuser Offline
Junior Member
Posts: 12
Joined: Aug 2012
Reputation: 0
Post: #3
I also wanted some functionality like this. Does anyone know a way to access the settings disabled due to entries in advancedsettings.xml, through python script?
find quote
ubuntuxbmcuser Offline
Junior Member
Posts: 12
Joined: Aug 2012
Reputation: 0
Post: #4
I found a built-in function in xbmc 11.0 Eden named Addon.Default.Set. It has not been documented on wiki yet. I found it in xbmc-11.0/xbmc/interfaces/builtins.cpp file.

It was not fully functional. Little change in the source code was needed to make it work. And it's working really well. Smile
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,180
Joined: Nov 2003
Reputation: 82
Post: #5
patch welcome if there is a bug.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote