92
1
SW
9.
PLAYER LUA SDK Introduction
PLAYER is a Lua extension library that acts as interface between LUA and PLAYER
firmware using the well-known PLAYER JSON protocol.
Basically is composed by different kind of objects:
•
PLAYER
–
access player functions.
•
CFG
–
access configuration. With this object you can access all the PLAYER
configuration.
•
PRESET
–
PRESET settings. There are 20 presets that act as memories where you
can store all the PLAYER player settings like url, play mode, repeat mode, fade mode,
etc.
•
EVENT
–
Event configuration lets PLAYER execute automated functions. There are 3
possibilities GPI1, GPI2 and SILENCE settings.
•
CAL
–
Calendar configuration lets PLAYER execute automated functions on date
event. There are up to 24 different calendar.
•
SAF
–
Store and Forward settings.
•
SCRIPT
–
Manage PLAYER scripts. Is possbile to execute scripts based on different
kind of triggers like BOOT, EVENT, LOAD PRESET, CALENDAR, NETWORK, etc.
•
LOG
–
Register functions that allows the user to write to the PLAYER internal
REGISTER.
•
DEV
–
Device status and other setups (like install new firmwares).
•
PANEL
–
Panel lock mode settings and status.
•
FINDER
–
use FINDER settings to discover your PLAYER.
•
LCD
–
Allow access to PLAYER LCD display.