Difference between revisions of "User talk:Ronie"

From Official Kodi Wiki
Jump to: navigation, search
(level)
(updates)
Line 122: Line 122:
 
===data===
 
===data===
 
===updates===
 
===updates===
 +
 +
====update====
 +
 +
=====change=====
 +
=====rename=====
  
 
=control=
 
=control=

Revision as of 01:29, 19 December 2019

WIP - settings.xml

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="addon" 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.5.9 reference

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 is
6.6.5.1.2 lt
6.6.5.1.3 lessthan
6.6.5.1.4 gt
6.6.5.1.5 greaterthan
6.6.5.1.6 contains
6.6.5.1.7 !

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.3 multiselect

7.4.4 data

7.4.5 hidevalue

7.4.6 formatlabel

8 todo

  1. define SETTING_XML_ROOT "settings"
  2. define SETTING_XML_ROOT_VERSION "version"
  1. define SETTING_XML_ELM_SECTION "section"
  2. define SETTING_XML_ELM_CATEGORY "category"
  3. define SETTING_XML_ELM_GROUP "group"
  4. define SETTING_XML_ELM_SETTING "setting"
  5. define SETTING_XML_ELM_VISIBLE "visible"
  6. define SETTING_XML_ELM_REQUIREMENT "requirement"
  7. define SETTING_XML_ELM_CONDITION "condition"
  8. define SETTING_XML_ELM_LEVEL "level"
  9. define SETTING_XML_ELM_DEFAULT "default"
  10. define SETTING_XML_ELM_VALUE "value"
  11. define SETTING_XML_ELM_CONTROL "control"
  12. define SETTING_XML_ELM_CONSTRAINTS "constraints"
  13. define SETTING_XML_ELM_OPTIONS "options"
  14. define SETTING_XML_ELM_OPTION "option"
  15. define SETTING_XML_ELM_MINIMUM "minimum"
  16. define SETTING_XML_ELM_STEP "step"
  17. define SETTING_XML_ELM_MAXIMUM "maximum"
  18. define SETTING_XML_ELM_ALLOWEMPTY "allowempty"
  19. define SETTING_XML_ELM_DEPENDENCIES "dependencies"
  20. define SETTING_XML_ELM_DEPENDENCY "dependency"
  21. define SETTING_XML_ELM_UPDATES "updates"
  22. define SETTING_XML_ELM_UPDATE "update"
  23. define SETTING_XML_ELM_ACCESS "access"
  24. define SETTING_XML_ELM_DELIMITER "delimiter"
  25. define SETTING_XML_ELM_MINIMUM_ITEMS "minimumitems"
  26. define SETTING_XML_ELM_MAXIMUM_ITEMS "maximumitems"
  27. define SETTING_XML_ELM_DATA "data"
  1. define SETTING_XML_ATTR_ID "id"
  2. define SETTING_XML_ATTR_LABEL "label"
  3. define SETTING_XML_ATTR_HELP "help"
  4. define SETTING_XML_ATTR_TYPE "type"
  5. define SETTING_XML_ATTR_PARENT "parent"
  6. define SETTING_XML_ATTR_FORMAT "format"
  7. define SETTING_XML_ATTR_DELAYED "delayed"
  8. define SETTING_XML_ATTR_ON "on"
  9. define SETTING_XML_ATTR_OPERATOR "operator"
  10. define SETTING_XML_ATTR_NAME "name"
  11. define SETTING_XML_ATTR_SETTING "setting"
  12. define SETTING_XML_ATTR_BEFORE "before"
  13. define SETTING_XML_ATTR_AFTER "after"
  1. define SETTING_XML_ELM_CONTROL_FORMATLABEL "formatlabel"
  2. define SETTING_XML_ELM_CONTROL_HIDDEN "hidden"
  3. define SETTING_XML_ELM_CONTROL_VERIFYNEW "verifynew"
  4. define SETTING_XML_ELM_CONTROL_HEADING "heading"
  5. define SETTING_XML_ELM_CONTROL_HIDEVALUE "hidevalue"
  6. define SETTING_XML_ELM_CONTROL_MULTISELECT "multiselect"
  7. define SETTING_XML_ELM_CONTROL_POPUP "popup"
  8. define SETTING_XML_ELM_CONTROL_FORMATVALUE "value"
  9. define SETTING_XML_ATTR_SHOW_MORE "more"
  10. define SETTING_XML_ATTR_SHOW_DETAILS "details"
  11. define SETTING_XML_ATTR_SEPARATOR_POSITION "separatorposition"
  12. define SETTING_XML_ATTR_HIDE_SEPARATOR "hideseparator"