2014-05-18, 15:50
This addon is intended to bring activating and modifying advanced settings into the normal (addon) settings space in XBMC.
Code: https://github.com/KODeKarnage/script.ad...tingsetter
It doesnt cover every advanced setting, but it gets most of them. Importantly, adding more should be fairly straight-forward.
It uses the addons own settings.xml as a template for the advanced settings file, with the relevant entries commented out. The new file is built from the commented out sections.
Other things to note:
- the settings that you already have in your file that are covered by the addon should have their values imported
- any settings you already have in your advancedsettings.xml that aren't yet covered should be carried over, but only in groups that are covered*
*this is being worked on now. Dont forget to backup your current file.
Here is a sample of the settings.xml structure for a normal setting and a nested one. Feel free to help out with more items
Code: https://github.com/KODeKarnage/script.ad...tingsetter
It doesnt cover every advanced setting, but it gets most of them. Importantly, adding more should be fairly straight-forward.
It uses the addons own settings.xml as a template for the advanced settings file, with the relevant entries commented out. The new file is built from the commented out sections.
Other things to note:
- the settings that you already have in your file that are covered by the addon should have their values imported
- any settings you already have in your advancedsettings.xml that aren't yet covered should be carried over, but only in groups that are covered*
*this is being worked on now. Dont forget to backup your current file.
Here is a sample of the settings.xml structure for a normal setting and a nested one. Feel free to help out with more items
Code:
<category label="videolibrary">
<!--videolibrary_HEADING-->
<!--dateadded>1</dateadded-->
<setting default="false" id="dateaddedbool" label="Activate dateadded" type="bool"/>
<setting default="1" enable="eq(-1,true)" id="dateadded" label="dateadded" option="int" range="0,1,2" type="slider"/>
<!--mymovies_HEADING-->
<!--categoriestogenres>false</categoriestogenres-->
<setting default="false" id="categoriestogenresbool" label="Activate categoriestogenres" type="bool"/>
<setting default="false" enable="eq(-1,true)" id="categoriestogenres" label="categoriestogenres" lvalues="32001|32002" type="labelenum"/>
<!--/mymovies_HEADING-->
<!--/videolibrary_HEADING-->
</category>