98
1
SW
Function:
Description:
Set the value of the selected variable
“interface.section.variable” to “value”
Arguments:
interface
– must be a valid interface: preset, saf, calendar(01..24), event (gpi1,gpi2,
silence),
gdrive, script and log.
section
– variable's section. Most of the cases is “settings”
variable
– variable's name.
value
– variable's value.
Function:
Description:
Commit interface changes. After changes all variables in one interface it's necessary to
dump changes to PLAYER internal memory. Do it one time for each modified interface.
Arguments:
interface
– must be a valid interface: network, wireless, preset, saf, calendar(01..24),
event (gpi1, gpi2, silence), gdrive, script and log.
9.2.4
PRESET FUNCTIONS
Set and get PLAYER PRESET parameters. There are 20 presets available. Each preset can
configure: name, events enabled, playlist, media alias, play status, volume, mute, play
mode, repeat mode, fade mode, stereo/mono.
Functions
Function:
Description:
Reload preset configuration. Call it after modify the preset configuration using CFG_set
and CFG_commit
Arguments:
index
– number indicating the preset number (from 1 to 20)
CFG_set = function(interface, section, variable, value)
CFG_commit = function(interface)
PRESET_reload(index)