metube. Adding example of OUTPUT_TEMPLATE variable for hierarchical video downloading.

This commit is contained in:
Alexey Skobkin 2022-03-16 04:55:11 +03:00
parent c321e34f20
commit d35c67d9c8
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
1 changed files with 9 additions and 0 deletions

View File

@ -5,5 +5,14 @@ HOST_DATA_DIR=./data
WEBUI_BIND_ADDR=127.0.0.1
WEBUI_BIND_PORT=8081
# the template for the filenames of the downloaded videos, formatted according to this spec:
# https://github.com/yt-dlp/yt-dlp/blob/master/README.md#output-template
# Default value: %(title)s.%(ext)s
# Example with some hierarchy
#OUTPUT_TEMPLATE=%(channel|unknown)s/%(playlist_title|videos)s/[%(release_date,upload_date|unknown_date)s]_%(title)s_%(height)s.%(ext)s
# https://github.com/alexta69/metube#configuration-via-environment-variables
#YTDL_OPTIONS={"writesubtitles":true,"subtitleslangs":["all"]}
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5