background image

HMP Pull Mode 

Firmware 3.0, version 1.0 

 

 

 

USING PULL MODE 

Pull mode allows: 

 

Updating of the content of the device 

 

Uploading of logs and other information from the device to a server 

 

RPC control of the player for an RPC server. 

To use pull mode with the HMP, the user must configure the player accordingly and setup 
a  server  ready  to  interact  with  the  player.  To  use  advanced  feature  of  pull  mode,  an 
iCalendar file must be used with some specific syntax. 

Content Server 

In  Pull  Mode,  a  server  is  needed  to  host  the  content  to  be  downloaded  by  the  player. 
Both standard HTTP server and WebDAV enabled HTTP servers are supported.  

WebDAV server: 

Publishing from a WebDAV server is straightforward: 

 

Create a repository on your WebDAV server. The repository should contain a copy 
of the content to be displayed by the HMP. 

 

Use the root of the repository as the source for your project. 

The HMP will use the WebDAV protocol to ensure that only modified files are downloaded 
to the HMP. 

When using HMD with the PRO features enabled, you can publish directly to the WebDAV 
server using the concept of shared projects. 

Standard HTTP server: 

There exists no standard method to list the content of a repository using standard HTTP 
protocols.  For  this  reason  a  custom  XML  file  describing  the  content  of  your  repository 
must be available to the HMP for the publish process. 

Steps to follow to publish from a standard HTTP server: 

 

Create a repository on your HTTP server 

 

Upload your content to the HTTP server 

 

Create an XML description of your repository. 

 

Use the URI of the XML description file as the source for your publish process. 

XML description of HTTP repository 

The  XML  description  of  the  HTTP  repository  uses  the  XML  structure  of  the  WebDAV 
protocol to answer a PROPFIND command (

See section 12 of the WebDAV RFC

<project> 

<projects 

xmlns

="http://www.spinetix.com/namespace/1.0/spxproj"> 

This  is  the  top-level  element;  it  must  be  in  the  spinetix  project  namespace 
(

http://www.spinetix.com/namespace/1.0/spxproj

). 

Summary of Contents for HMP130

Page 1: ...HMP Pull Mode Firmware v3 0 Version 1 0 16 Apr 2013 ...

Page 2: ...WITHOUT LIMITATION THOSE OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING USAGE OR TRADE PRACTICE IN NO EVENT SHALL SPINETIX OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT SPECIAL CONSEQUENTIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL EVEN ...

Page 3: ...d of content is displayed by the HMP130 or HMP200 device Files can be pushed to the devices for example using HMD they can be made available on an HTTP server uploaded to the device using the Fusion interface or pulled at periodic intervals from a server This last of these methods is Pull Mode ...

Page 4: ...e 7 Using Pull mode 9 Content Server 9 WebDAV server 9 Standard HTTP server 9 XML description of HTTP repository 9 Configuring the HMP 12 Manual Settings 13 Using iCalendar Schedule 14 Custom iCalendar files 14 Configuring iCalendar files 14 Publish action 14 Upload action 16 RPC action 17 Inline RPC action 18 Controlling display during the publish 19 publish_screen 19 ...

Page 5: ...ng dynamic editing of text and content layout based on templates available on the unit In this case projects or templates created with HMD can be used providing more flexibility to the user Fusion has the following advantages No setup is required as everything can be done directly on the HMP All the content is managed directly on the device The interface is intuitive and allows a basic set of oper...

Page 6: ...no longer necessary once the publish has been done Content is immediately updated The main drawback of push mode is that a direct access to the device is necessary Complex network topography using firewall and or NAT will prevent the user from publishing to the device Client Server When using client server mode the content to be displayed by the HMP is located on a web server on the network The pl...

Page 7: ...erver mode has the following advantages Centralized content management on the server Content can be generated dynamically and immediately on the server To configure the HMP to use client server mode open Control Center and change the location of the media source to the root of your server The HMP will look for an index svg file on this server as a starting point to display the content Pull mode Wh...

Page 8: ...o a remote WebDAV server The publish action of the Pull mode can be used with WebDAV server or with standard HTTP servers The pull mode can be used to update content of devices behind firewall or NAT or when the network is not reliable The pull mode has the following advantages Update of the content can be programmed at predefined times The player copies the content to its local storage making the...

Page 9: ...he WebDAV protocol to ensure that only modified files are downloaded to the HMP When using HMD with the PRO features enabled you can publish directly to the WebDAV server using the concept of shared projects Standard HTTP server There exists no standard method to list the content of a repository using standard HTTP protocols For this reason a custom XML file describing the content of your reposito...

Page 10: ... present in the project the folder itself must also be specified in the list of resources The root of the repository MUST be present in the list of resources href URI of the multimedia file to be uploaded to the HMP The URI is relative to the address of the repository Example Description of the root repository response href href response Description of the index file response href index svg href r...

Page 11: ...called spinetix svg located in the media folder response href media spinetix svg href propstat prop getlastmodified Wed 23 Jul 2008 13 38 37 GMT getlastmodified prop propstat response Complete file Example of XML description of a server containing an index svg and spinetix svg in a folder called media This example can be downloaded from http demo spinetix com project default publish xml xml versio...

Page 12: ... configure but has some limitations For example it forces a daily project publishing at a specific time Moreover the options for uploading logs are limited Using iCalendar schedule files This option gives you full control over the Pull mode of the HMP but requires an external tool to create iCalendar files Both alternatives are controlled using Control Center and the Pull Mode settings ...

Page 13: ...the WebDAV server where the log files should be uploaded The HMP needs to have write access to this server path See Network credentials to enter the passwords of your server 4 Select the time at which you would like the log files to be uploaded to your server 5 Select what type of log files should be uploaded to your server 6 Press Apply to validate your changes The log files will be uploaded once...

Page 14: ...ject from two or more different locations Update your HMP more or less than once per day Upload the HMP snapshot image to a server Enable RPC server mode and many more features iCalendar files can be either saved on the HMP or retrieved from a remote server as explained in Settings Configuring iCalendar files Each action of Pull mode is described by a item meeting in your iCalendar file ICS file T...

Page 15: ...es are deleted only once all the files have been uploaded to the device dest folder Change the destination folder used by the publish By default content is published in the root folder If a folder is specified the content will be published in the given folder Notes If the folder do not exist it will be created When fusion is enabled the folder publish should be used as project can no longer be pub...

Page 16: ...he server using destination_name If no destination name is provided the default formatting will be used see the format specification The following shortcut options can be used format specify the format to be used to write the file to the server The following syntax can be used s serial number of the HMP d date of the upload h time of the upload D modification date of the uploaded file H modificati...

Page 17: ...e a repository BEGIN VCALENDAR VERSION 2 0 PRODID Spinetix com NONSGML Spinetix Control Center EN BEGIN VEVENT UID 14d64d53 a926 4a71 848d c78234b195fe DTSTART 20080722T200000 DTEND 20080722T210000 URL http webdav spinetix com logs SUMMARY upload DESCRIPTION format s d n x n accounting nhttp localhost log warn log RRULE FREQ DAILY WKST SU END VEVENT END VCALENDAR RPC action The RPC action can be u...

Page 18: ...ready notification to the server notification If specified the RPC will be used only to send notification actions The RPC server is not allowed to send commands in reply to the player posts Example of an ICS file for an rpc action BEGIN VCALENDAR VERSION 2 0 PRODID Spinetix com NONSGML Spinetix Control Center EN BEGIN VEVENT UID 14d64d53 a926 4a71 848d c78452b195fe DTSTART 20110411T080000 DTEND 20...

Page 19: ...ntrolling 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 contr...

Reviews: