Difference between revisions of "Screen on/off"
From A-SMIL.org
Line 18: | Line 18: | ||
</source> | </source> | ||
+ | |||
+ | == Related == | ||
+ | |||
+ | * [[RS232]]: send custom serial command through RS232 port |
Revision as of 03:03, 8 January 2016
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"> <seq id="foo" begin="wallclock(R/2011-01-01T09:00:00/P1D)" end="wallclock(R/2011-01-01T17:00:00/P1D)"> <!-- Playlist here --> </seq> <ref begin="0;foo.endEvent" src="adapi:blankScreen" dur="indefinite"/> </excl> </body> </smil>
Related
- RS232: send custom serial command through RS232 port