101
1
SW
9.2.7
CALENDAR (CAL) FUNCTIONS
Calendar functions lets PLAYER execute automated functions on a date/time. There are
24 different calendar events available.
Functions
Function:
Description:
Reload calendar configuration. Call it after modify the calendar configuration using
CFG_set
and CFG_commit
Arguments:
nIndex
– number indicating the calendar to reload (1 to 24)
9.2.7.1
CALENDAR VARIABLES
calendarNN.settings.general_description
Calendar name or description
calendar01.settings.bEnabled
Set to 1 to enable this calendar
calendarNN.settings.source_start_date
Start date (YYYY/MM/DD). Could be blank
calendarNN.settings.source_start_time
Start time (HH:MM). Could be blank.
calendar.settings.source_end_enable
Could be FOREVER or CUSTOM END DATE
calendarNN.settings.source_end_date
If CUSTOM END DATE is selected put here the
calendar end date (YYYY/MM/DD)
calendarNN.settings.source_end_time
If CUSTOM END DATE is selected put here the
calendar end
time (HH:MM)
calendarNN.settings.source_week_nonactive Week mask where calendar
is not
active. Should be
a string of days. Each day is represented by his 2
first letters (MoTuWeThFrSaSu)
calendarNN.settings.source_repeat_enable 1 indicates that the calendar must repeat the
selected interval time up to the number indicated in
times variable. 0 no repetition
calendarNN.settings.source_repeat_interval If repeat is enabled this parameter indicates the
repetition time
calendarNN.settings.source_repeat_times
If repeat is enalbed this parameter indicates the
repetition's number
calendarNN.settings.target_type
INTERNAL, PRESET RECALL, TRANSPORT
CONTROL, LOAD & PLAY SOURCE or PRIORITY
SOURCE
calendarNN.settings.target_preset
If target_type=PRESET RECALL put here the
preset number 1 to 20
calendarNN.settings.target_transport
If target_type=TRANSPORT CONTROL enter here
one of this options: STOP, PLAY, PREV/RW,
NEXT/FW
calendarNN.settings.target_loadsource
if target_type=LOAD & PLAY SOURCE or
target=PRIORITY SOURCE put here the url you
want to load and play
CAL_reload(nIndex)