102
1
SW
9.2.8
STORE AND FORWARD (SAF) FUNCTIONS
Store and Forward module let PLAYER download remote media content from a rsync/ssh
server to local storage devices (same as PRESET1), daily, and recall PRESET1 to
automatically play it.
Functions
Function:
Description:
Reload Store and Forward configuration. Call it after modify the Store and Forward
configuration using CFG_set and CFG_commit
9.2.8.1
STORE AND FORWARD VARIABLES
saf.settings.bEnabled
Set to 1 to enable daily Store and Forware synchronization
saf.settings.time_param
Enter here the synchronization hour (HH:MM)
saf.settings.host
Put here the rsync/ssh server address
saf.settings.port
Enter here the rync/ssh port (default 22)
saf.settings.source_path
Enter here the server folder where the contents are stored
saf.settings.source_user
SSH/rsync username parameter
saf.settings.source_key
Enter here your private SSH/rsync key
saf.settings.source_timeout Enter here the SSH/rsync operation timeout (in seconds)
9.2.9
REGISTER (LOG) FUNCTIONS
Register functions that allows the user to write to the PLAYER internal REGISTER
Functions
Function:
Description:
Add to PLAYER LOG register a trace line
Arguments:
txtLog
– String containing the text you want to add. The source of the register line will be
equal to “ScriptNN” where NN represents the script calling LOG_trace
Function:
Description:
Add to PLAYER LOG register a warning line
Arguments:
txtLog
– String containing the text you want to add. The source of the register line will be
equal to “ScriptNN” where NN represents the script calling LOG_warning
Function:
Description:
Add to PLAYER LOG register a error line
Arguments:
txtLog
– String containing the text you want to add. The source of the register line will be
equal to “ScriptNN” where NN represents the script calling LOG_error
SAF_reload()
LOG_trace(txtLog)
LOG_warning(txtLog)
LOG_error(txtLog)