Stefan Schuermans
implement synchronization feature for player
Stefan Schuermans commited f544b7e at 2014-01-03 21:44:12
<html>
<head>
<title>Blinker - Player</title>
</head>
<body>
<h1>Blinker - Player</h1>
<p>
The player module plays Blinken movies from a playlist.
</p>
<h2>Configuration</h2>
<p>
The configuration of the player module with name <code>NAME</code>
is located in the <code>players/NAME</code> subdirectory.
</p>
<h3>Playlist</h3>
<p>
The playlist contains all movies in the subdirectory
<code>playlist</code>.
The movies are played in alphanumerical order.
</p>
<h3>Output Stream</h3>
<p>
The file <code>outstream</code> contains the name of the stream to
send the frames to.
</p>
<h3>Halt Stream</h3>
<p>
The player can be halted whenever another stream is active.
Therefore, the name of the other stream is written to the file
<code>haltstream</code>.
When the halt stream becoms active, the current frame is frozen,
i.e. the frame is kept.
When the halt stream ends, the player resumes with the remaining
time for the current frame and continues as usual afterwards.
<br>
If this feature is not needed, the file <code>haltstream</code>
should not exist.
<br>
This feature should not be used together with the synchronization
feature.
</p>
<h3>Input Synchronization Stream</h3>
<p>
The player can be synchronized to a master by using a synchronization
stream.
To achieve this, the name of the synchronization stream is written to
the file <code>insync</code>.
The player will then seek to the movie and the position requested via
the synchronization stream.
It will also go to pause mode whenever the synchronization stream
requests it.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX