Kodi Community Forum
quick question - 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: quick question (/showthread.php?tid=220652)



quick question - pipcan - 2015-03-07

just say I have
addDir()
addDir()
addDir()

but I want it to be
addDir
addDir
addDir
addDir <------- New Dir

but to only show if the addDir if
<setting id="use-account" type="bool" label="30200" default="false"/>
equals True

thanks in advance having a mental block


RE: quick question - pipcan - 2015-03-08

don't worry done it
if use_account == 'true':
addDir(