2015-10-30, 04:17
Just a quick question how do I reference settings in settings.xml in my Kodi python plugin?
my settings.xml file is :
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="32001">
<setting label="30000" type="text" id="Device Path" default="/dev/ttyACM0"/>
<setting type="sep"/>
<setting label="30001" type="number" id="Starting Volume" default="5"/>
</category>
</settings>
And i just want the plugin in to read the device path and starting volume settings before it starts?
p.s. Sorry if this is a very obvious question, any help is appreciated.
my settings.xml file is :
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="32001">
<setting label="30000" type="text" id="Device Path" default="/dev/ttyACM0"/>
<setting type="sep"/>
<setting label="30001" type="number" id="Starting Volume" default="5"/>
</category>
</settings>
And i just want the plugin in to read the device path and starting volume settings before it starts?
p.s. Sorry if this is a very obvious question, any help is appreciated.