fix map_extension, add folder watch

This commit is contained in:
Jonathan Baecker 2019-06-06 18:16:04 +02:00
parent ab7b56e37a
commit feff57c500

View File

@ -15,6 +15,8 @@
# ------------------------------------------------------------------------------
# set playlist_mode to false if you want to play clips from the [FOLDER] section
# sometimes it can happen, that a file is corrupt but still playable,
# this can produce an streaming error over all following files
# the only way in this case is, to stop ffplayout and start it again
@ -22,6 +24,7 @@
# best way is a systemd serivce on linux
# stop_threshold: stop ffplayout, if it is async in time above this value
[GENERAL]
playlist_mode = True
stop_on_error = True
stop_threshold = 11
@ -90,7 +93,7 @@ ffmpeg_copy_settings = ["-c", "copy", "-bsf:v", "h264_mp4toannexb", "-f", "mpegt
# map_extension is only for special purpose,
# when your playlist have a different extension, then the originial clip
# example: map_extension = [".mp4", ".mkv"]
# life blank for no change
# life empty for no change
[PLAYLIST]
playlist_path = /playlists
clips_root = /media
@ -99,7 +102,16 @@ filler_clip = /media/filler/seperator.clock.mp4
blackclip = /opt/dummy.mkv
day_start = 06:00:00.000
time_shift = 35
map_extension =
map_extension = []
# play ordered or ramdomly files from clips_root
# extensions can be a list
# set shuffle to True to pick files randomly
[FOLDER]
storage = /media
extensions = ["*.mp4"]
shuffle = False
# the final playout post compression