I'm writing a plugin that runs at startup. Therefore I'm using
in my addon.xml.
I have settings associated with this plugin, but how can I get them? Convention seems to be int(sys.argv[1]) ie:
If I run the line above it fails because there's nothing in sys.argv.
Code:
<extension point="xbmc.service" library="default.py" start="startup"/>
in my addon.xml.
I have settings associated with this plugin, but how can I get them? Convention seems to be int(sys.argv[1]) ie:
Code:
setting = xbmcplugin.getSetting(int(sys.argv[1]), 'somesetting')
If I run the line above it fails because there's nothing in sys.argv.