HMP Pull Mode
Firmware 3.0, version 1.0
19
The Inline-RPC action can be used to trigger any RPC action directly from an ICS file. This
solution should be used only if it is not possible to setup a an RPC concentrator, as it is
less reliable.
Inline-RPC action will be executed only if the player is turned on when the action need to
be executed. Action scheduled to start after the booting time of the player will not be
executed, even if they are still valid at the booting time.
Return value for the action will be logged into the uploader logs.
This action uses the following fields:
Title:
inline-rpc
Description
: rpc command to be executed.
For instance {"method":"restart"} will restart the player
Example of an ICS file for an inline-rpc action:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Spinetix.com/NONSGML Spinetix Control Center//EN
BEGIN:VEVENT
UID:14d64d53-a926-4a71-848d-c78452b195ff
DTSTART:20121221T000000
DTEND: 20121221T000100
SUMMARY:inline-rpc
DESCRIPTION:{"method":"restart"}
END:VEVENT
END:VCALENDAR
Controlling display during the publish
By default, the content on the device is updated incrementally by the publish process.
The index.svg file is updated at the end of the process to make sure the rendering engine
start playing the updated project at the end of the publish. However, during the publish
process, the content being displayed on the screen is undefined.
In many cases it is desirable to control what is being displayed on the screen during the
publish process. In that case special care must be taken in designing the structure of the
published content.
publish_screen
Need firmware 3.0.0
If the content to be published contains a file called
publish_screen.png
the file will be
displayed on the screen until the end of the publish process.
If the content to be published contains a folder called
/publish_screen/
the publish
process will behave as follow:
All the content of the
/publish_screen/
folder (including sub folder) are
downloaded onto the device.
The rendering engine looks for the files called index.svg inside the folder and start
displaying it on the screen.
All the content to be publish is downloaded onto the device.
The rendering engine start displaying the normal content again.