2013-08-22, 22:21
Ok im trying to check if this setting has not been set yet:
settings.xml
I have tried this
and this
neither one is working.. I had it send a notification of:
and it comes back as LL
so I believe its sending back nothing. I would think None should work... any ideas?
settings.xml
Code:
<setting id="TVRageLocation" type="folder" source="video" label="30009" visible="eq(-1,1)" default="" />
I have tried this
Code:
self.varStreamLocation = xbmcaddon.Addon('script.tv.promos').getSetting("TVRageLocation")
if self.varStreamLocation == None:
...
and this
Code:
self.varStreamLocation = xbmcaddon.Addon('script.tv.promos').getSetting("TVRageLocation")
if self.varStreamLocation == '':
...
neither one is working.. I had it send a notification of:
Code:
util.notify("L" + self.varStreamLocation + "L")
and it comes back as LL
so I believe its sending back nothing. I would think None should work... any ideas?