reading guisettings from python

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MisterX Offline
Junior Member
Posts: 11
Joined: Sep 2013
Reputation: 0
Post: #1
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
find quote
ronie Offline
Team-Kodi Member
Posts: 9,198
Joined: Jan 2009
Reputation: 158
Post: #2
i haven't tested it but this should do the trick:
xbmc.getCondVisibility('system.getbool(karaoke.enabled)')

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
MisterX Offline
Junior Member
Posts: 11
Joined: Sep 2013
Reputation: 0
Post: #3
It worked like a charm!
Thank you so much for this
find quote
tahir0331 Offline
Junior Member
Posts: 5
Joined: Nov 2013
Reputation: 0
Post: #4
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
find quote