Skip to content

Instantly share code, notes, and snippets.

@deedos
Created January 23, 2014 22:06
Show Gist options
  • Save deedos/8587770 to your computer and use it in GitHub Desktop.
Save deedos/8587770 to your computer and use it in GitHub Desktop.
---
# PiVT Configuration File
# Note that PiVT can be operated in two modes, either as the network-controlled
# video server it was designed as or in alternate 'playlist' mode (or both,
# just pick up the playlist where it left off)
# The three dashes at the start of the file are important, please leave them in!
# Folder where video files can be found (--folder). Absolute paths recommended!
videofolder: /home/pi/videos/
# Video to play when nothing else is running (--stopvideo). Ignored when a
# playlist is set up
stopvideo: /home/pi/videos/stopvideo.mp4
# Port for the network interface to PiVTDesktop (--port). Leave blank to disable
# network control (only in playlist mode)
port: 9815
# Additional arguments to supply to OMXPlayer (--omxargs)
omxargs: --win "0 0 1920 1080" -z
# List of playlist files to be played in a loop. Each item must start with a
# hyphen (-) and be indented 4 spaces. Leave empty for network-controlled mode.
playlist:
# Example (will expand to /videos/myawesomevideo.mp4 if videofolder is /videos):
# - myawesomevideo.mp4
# Path to log file
logfile: pivtlog.log
# Remaining configuration items are internal and can probably remain as-is
# Path to OMXPlayer binary
omxplayer: /home/pi/src/omx_seamless_loop/omxplayer
# Period to update internal file list in seconds
listcycletime: 5
# Enable clean loop mode where --loop flag is applied to OMXPlayer for stopvideo
# Do not include --blank in omxargs with this enabled, as it won't work
cleanloop: True
# The dots are important, please leave them here
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment