# Blinker - Player

The player module plays Blinken movies from a playlist.

## Configuration

The configuration of the player module with name `NAME` is located in the `players/NAME` subdirectory.

### Playlist

The playlist contains all movies in the subdirectory `playlist`. The movies are played in alphanumerical order.

### Output Stream

The file `outstream` contains the name of the stream to send the frames to.

### Halt Stream

The player can be halted whenever another stream is active. Therefore, the name of the other stream is written to the file `haltstream`. 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.
If this feature is not needed, the file `haltstream` should not exist.
This feature should not be used together with the synchronization feature.

### Input Synchronization Stream

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 `insync`. 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.
If this feature is not needed, the file `insync` should not exist.
This feature should not be used together with the halt stream feature.