Difference between revisions of "Reboot"

From A-SMIL.org
Jump to: navigation, search
(Created)
 
m
 
Line 3: Line 3:
 
== The shutdownPlayer Task Schedule ==
 
== The shutdownPlayer Task Schedule ==
  
To initiate device configuration, the player must be issued a SMIL script with a TaskSchedule subscription (see [[maintenance tasks]]) in the head section. The subscription contains a URL that points to a <tt>taskSchedule.xml</tt> file that looks like the following:
+
To initiate player reboot, the player must be issued a SMIL script with a TaskSchedule subscription (see [[maintenance tasks]]) in the head section. The subscription contains a URL that points to a <tt>taskSchedule.xml</tt> file that looks like the following:
  
 
<source lang="xml">
 
<source lang="xml">

Latest revision as of 11:21, 11 January 2011

A-SMIL players can be rebooted remotely using maintenance tasks.

The shutdownPlayer Task Schedule

To initiate player reboot, the player must be issued a SMIL script with a TaskSchedule subscription (see maintenance tasks) in the head section. The subscription contains a URL that points to a taskSchedule.xml file that looks like the following:

<taskSchedule xmlns="http://schemas.adfotain.org/adapi-1.0">
  <timedTaskList at="0" abortOnError="false">
    <shutdownPlayer id="123">
      <type>reboot</type>
    </shutdownPlayer>
  </timedTaskList>
</taskSchedule>

shutdownPlayer id: the ID is used by the player to register if a particular task has already be applied. The player will not apply the task if its ID is the same as the one most recently applied. In other words, if you wish you re-apply a task, make sure you change its ID