Reboot

From A-SMIL.org
Jump to: navigation, search

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