2007-11-10, 02:52
You may now use the browse dialog for a setting. (not merged in linux branch)
You may also use separators now
The following types are now valid:
keyboard:
"text"
ip dialog
"ipaddress"
numeric dialog
"integer"
browse dialogs:
"video", "music", "pictures", "folder", "programs", "files"
radio button:
"bool"
spinners
"enum"
separator
"sep"
There are two new attributes "option", "source":
eg. "option" can be "hidden" for type "text", this will hide the text, though it still displays in the dialog, so this needs looking at.
eg. "source" is used for the browse dialog
source can be:"video", "music", "pictures", "programs", "files", "local" or blank.
if source is blank it will use the type for shares if it is a valid share
if not a valid share it will use, both local and network drives.
You may also use separators now
The following types are now valid:
keyboard:
"text"
ip dialog
"ipaddress"
numeric dialog
"integer"
browse dialogs:
"video", "music", "pictures", "folder", "programs", "files"
radio button:
"bool"
spinners
"enum"
separator
"sep"
There are two new attributes "option", "source":
eg. "option" can be "hidden" for type "text", this will hide the text, though it still displays in the dialog, so this needs looking at.
eg. "source" is used for the browse dialog
Code:
<setting id="path" type="folder" source="video" label="30000" default="F:\videos" />
source can be:"video", "music", "pictures", "programs", "files", "local" or blank.
if source is blank it will use the type for shares if it is a valid share
if not a valid share it will use, both local and network drives.
Code:
[SIZE=2][SIZE=2]<?xml version="1.0" encoding="utf-8" standalone="yes"?>[/SIZE]
[SIZE=2]<settings>[/SIZE]
[SIZE=2] <setting id="path" type="folder" source="video" label="30000" default="F:\videos" />[/SIZE]
[SIZE=2] <setting type="sep" />[/SIZE]
[SIZE=2] <setting id="coming_attraction_videos" type="video" label="30010" default="" />[/SIZE]
[SIZE=2] <setting id="feature_presentation_videos" type="video" label="30020" default="" />[/SIZE]
[SIZE=2] <setting id="end_presentation_videos" type="video" label="30030" default="" />[/SIZE]
[SIZE=2] <setting type="sep" />[/SIZE]
[SIZE=2] <setting id="use_db" type="bool" label="30040" default="false" />[/SIZE]
[SIZE=2] <setting id="limit_query" type="bool" label="30050" default="true" />[/SIZE]
[SIZE=2] <setting type="sep" />[/SIZE]
[SIZE=2] <setting id="rating" type="enum" values="G|PG|PG-13|R|NC-17|--" label="30060" default="--" />[/SIZE]
[SIZE=2] <setting id="number_trailers" type="enum" values="0|1|2|3|4|5" label="30070" default="3" />[/SIZE]
[SIZE=2] <setting id="quality" type="enum" values="Low|Medium|High|480p|720p|1080p" label="30080" default="High" />[/SIZE]
[SIZE=2] <setting id="only_hd" type="bool" label="30090" default="false" />[/SIZE]
[SIZE=2]</settings>[/SIZE]
[/SIZE]