Difference between revisions of "User talk:Ronie"

From Official Kodi Wiki
Jump to: navigation, search
(todo)
(section)
 
(13 intermediate revisions by the same user not shown)
Line 28: Line 28:
 
=section=
 
=section=
 
<syntaxhighlight lang="xml" enclose="div">
 
<syntaxhighlight lang="xml" enclose="div">
<section id="addon" label="31001" help="31002">
+
<section id="my.addon.id" label="31001" help="31002">
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 84: Line 84:
 
===list[interger]===
 
===list[interger]===
 
===list[?do other types exist?]===
 
===list[?do other types exist?]===
===reference===
 
 
 
==subsections==
 
==subsections==
 
===visible===
 
===visible===
Line 114: Line 112:
  
 
=====type=====
 
=====type=====
 +
* enable
 +
* visible
 +
* update
 +
 
=====setting=====
 
=====setting=====
 
=====operator=====
 
=====operator=====
Line 129: Line 131:
 
======condition======
 
======condition======
 
=======on=======
 
=======on=======
 +
* setting
 +
* property
 +
 
=======name=======
 
=======name=======
 
=======setting=======
 
=======setting=======
Line 172: Line 177:
  
 
==delayed==
 
==delayed==
 +
  
 
==subsections==
 
==subsections==
 
===heading===
 
===heading===
 
===show===
 
===show===
 +
====more====
 +
===details===
 +
 
===multiselect===
 
===multiselect===
 
===data===
 
===data===
 
===hidevalue===
 
===hidevalue===
 
===formatlabel===
 
===formatlabel===
 +
===verifynew===
 +
===hidden===
 +
===popup===
  
 
=todo=
 
=todo=
#define SETTING_XML_ELM_VALUE "value"
+
SETTING_XML_ATTR_BEFORE "before" (setting attribute - place setting before)
#define SETTING_XML_ELM_ACCESS "access"
+
 
#define SETTING_XML_ATTR_BEFORE "before"
+
SETTING_XML_ATTR_AFTER "after" (setting attribute - place setting after)
#define SETTING_XML_ATTR_AFTER "after"
+
 
 +
SETTING_XML_ELM_CONTROL_FORMATVALUE "value" (control - subnode of formatlabel)
 +
 
 +
SETTING_XML_ATTR_SEPARATOR_POSITION "separatorposition" (control - attribute of control type="title")
 +
* top
 +
* bottom
  
#define SETTING_XML_ELM_CONTROL_HIDDEN "hidden"
+
SETTING_XML_ATTR_HIDE_SEPARATOR "hideseparator" (control - attribute of control type="title")
#define SETTING_XML_ELM_CONTROL_VERIFYNEW "verifynew"
+
* true
#define SETTING_XML_ELM_CONTROL_POPUP "popup"
+
* false
#define SETTING_XML_ELM_CONTROL_FORMATVALUE "value"
 
#define SETTING_XML_ATTR_SHOW_MORE "more"
 
#define SETTING_XML_ATTR_SHOW_DETAILS "details"
 
#define SETTING_XML_ATTR_SEPARATOR_POSITION "separatorposition"
 
#define SETTING_XML_ATTR_HIDE_SEPARATOR "hideseparator"
 

Latest revision as of 23:33, 1 August 2020

WIP - settings.xml

Contents

1 settings.xml

<?xml version="1.0" encoding="utf-8" ?>
<settings>
	<section>
		<category>
			<group>
				<setting></setting>
				<setting></setting>
			</group>
			<group>
				<setting></setting>
			</group>
		</category>
	</section>
</settings>

2 settings

<settings version="1">

2.1 version

3 section

<section id="my.addon.id" label="31001" help="31002">

3.1 id

3.2 label

3.3 help

4 category

<category id="videoplayer" label="31003" help="31004">

4.1 id

4.2 label

4.3 help

4.3.1 access

4.3.2 requirement

4.3.3 visible

5 group

<group id="1" label="31005">

5.1 id

5.2 label

6 setting

<setting id="delay" type="integer" label="31006" help="31007">

6.1 id

6.2 label

6.3 help

6.4 parent

6.5 type

6.5.1 boolean

6.5.2 string

6.5.3 integer

6.5.4 number

6.5.5 action

6.5.6 list[string]

6.5.7 list[interger]

6.5.8 list[?do other types exist?]

6.6 subsections

6.6.1 visible

6.6.2 level

  • 0 = Basic
  • 1 = Standard
  • 2 = Advanced
  • 3 = Expert
  • 4 = Internal

6.6.3 default

6.6.4 constraints

6.6.4.1 allowempty

6.6.4.2 minimum

6.6.4.3 step

6.6.4.4 maximum

6.6.4.5 options

6.6.4.5.1 option

6.6.4.6 delimiter

6.6.4.7 minimumitems

6.6.4.8 maximumitems

6.6.4.9 addontype

6.6.5 dependencies

6.6.5.1 dependency

6.6.5.1.1 type
  • enable
  • visible
  • update
6.6.5.1.2 setting
6.6.5.1.3 operator
6.6.5.1.3.1 is
6.6.5.1.3.2 lt
6.6.5.1.3.3 lessthan
6.6.5.1.3.4 gt
6.6.5.1.3.5 greaterthan
6.6.5.1.3.6 contains
6.6.5.1.3.7 !
6.6.5.1.4 and
6.6.5.1.5 or
6.6.5.1.5.1 condition
6.6.5.1.5.2 =on=
  • setting
  • property
6.6.5.1.5.3 =name=
6.6.5.1.5.4 =setting=
6.6.5.1.5.5 =condition=

6.6.6 data

6.6.7 updates

6.6.7.1 update

6.6.7.1.1 change
6.6.7.1.2 rename

7 control

7.1 type

7.1.1 button

7.1.2 toggle

7.1.3 spinner

7.1.4 edit

7.1.5 list

7.1.6 slider

7.1.7 range

7.1.8 title

7.1.9 label

7.2 format

7.2.1 boolean

7.2.2 string

7.2.3 integer

7.2.4 number

7.2.5 ip

7.2.6 md5

7.2.7 urlencoded

7.2.8 path

7.2.9 file

7.2.10 image

7.2.11 addon

7.2.12 infolabel

7.2.13 action

7.2.14 date

7.2.15 time

7.3 delayed

7.4 subsections

7.4.1 heading

7.4.2 show

7.4.2.1 more

7.4.3 details

7.4.4 multiselect

7.4.5 data

7.4.6 hidevalue

7.4.7 formatlabel

7.4.8 verifynew

7.4.9 hidden

7.4.10 popup

8 todo

SETTING_XML_ATTR_BEFORE "before" (setting attribute - place setting before)

SETTING_XML_ATTR_AFTER "after" (setting attribute - place setting after)

SETTING_XML_ELM_CONTROL_FORMATVALUE "value" (control - subnode of formatlabel)

SETTING_XML_ATTR_SEPARATOR_POSITION "separatorposition" (control - attribute of control type="title")

  • top
  • bottom

SETTING_XML_ATTR_HIDE_SEPARATOR "hideseparator" (control - attribute of control type="title")

  • true
  • false