Kodi Community Forum
Reading Gotham settings level? - 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: Reading Gotham settings level? (/showthread.php?tid=191879)



Reading Gotham settings level? - wyrm - 2014-04-10

Ive had a bit of a look around and could not spot anything, but is there a way for the skinner to read the current settings level in Gotham? I think it would be rather handy to hide skin settings that a less advanced user probably should not be messing with.

Also as a matter of personal interest (don't see the need for it in my household), is there a way to lock (pin code etc) the setting level button in settingscategory.xml?

Wyrm (xTV-SAF)


RE: Reading Gotham settings level? - jurialmunkey - 2014-04-10

I was thinking the same thing. However, I remember reading somewhere that it was not possible to change the settings level outside of SettingsCategory.xml - so you wouldn't be able to change the level in skinsettings anyway.

+1 on both points (lock code and grabbing/changing settings level in skin settings)


RE: Reading Gotham settings level? - wyrm - 2014-04-10

(2014-04-10, 06:07)jurialmunkey Wrote: I was thinking the same thing. However, I remember reading somewhere that it was not possible to change the settings level outside of SettingsCategory.xml - so you wouldn't be able to change the level in skinsettings anyway.

+1 on both points (lock code and grabbing/changing settings level in skin settings)

Jurialmonkey,

Just to be clear on this, I'm fine on setting the level in settingscategory.
Would just like to be able to display different skin settings based on the current global settings level.

Wyrm (xTV-SAF)


RE: Reading Gotham settings level? - Hitcher - 2014-04-10

I raised this question as well -

https://github.com/xbmc/xbmc/pull/2660#issuecomment-38660839

No reply yet though.


RE: Reading Gotham settings level? - braz - 2015-03-08

Was just looking for a way to determine the settings level and came across this thread. I'm looking for a way to display a button in the shutdown menu if the settings are set to Advanced or Expert.

I added a comment to the settings refactor discussion on github, agree that this would be a great feature to have.