Screen on/off

From A-SMIL.org
Revision as of 10:16, 28 January 2011 by SMIL T.A. (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can put a display into power-saving, screen-saving stand-by mode by scheduling it to play a special A-SMIL media item adapi:blankScreen as the source of a <ref> item.

For example, to play a playlist from 9AM to 5PM everyday but have the display put in stand-by in other hours, you can use the following SMIL script.

<smil>
  <head/>
  <body>
    <excl repeatCount="indefinite">
 
      <priorityClass>
        <seq begin="wallclock(R/2011-01-01T09:00:00/P1D)" end="wallclock(R/2011-01-01T17:00:00/P1D)">
          <!-- Playlist here -->
        </seq>
      </priorityClass>
 
      <priorityClass>
        <seq begin="0">
          <ref src="adapi:blankScreen" dur="indefinite" />
        </seq>
      </priorityClass>
 
    </excl>
  </body>
</smil>