Kodi Community Forum
reading guisettings from python - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: reading guisettings from python (/showthread.php?tid=174891)



reading guisettings from python - MisterX - 2013-10-03

Hi all,

I know this has been a hot topic before (I've search this forum)

You could do it with the httpapi before but as far as I've read, this isn't possible anymore.
Is there another way to do this?

My exact question is that I want to know if the user has enabled karaoke support or not.

Thank you in advance


RE: reading guisettings from python - ronie - 2013-10-03

i haven't tested it but this should do the trick:
xbmc.getCondVisibility('system.getbool(karaoke.enabled)')


RE: reading guisettings from python - MisterX - 2013-10-03

It worked like a charm!
Thank you so much for this


RE: reading guisettings from python - tahir0331 - 2013-12-05

i have a same task ,
i wanna modify the guisetting as "filelists.showparentdiritems"is true by default .
i want to make it "false" if this it is maked as "true".

any Idea relating this ...
waiting for positive reply