Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for new options: thumbnails, subtitles, metadata, etc. #212

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

qx6ghqkz
Copy link

@qx6ghqkz qx6ghqkz commented May 29, 2024

List of new environment variables which can be specified in a .env file before running docker compose up or can be passed via the -e flag when creating a container using docker run:

Environment Variable Type Default Value Example
YDL_MERGE_OUTPUT_FORMAT String None YDL_MERGE_OUTPUT_FORMAT="mp4/mkv"
YDL_NO_PLAYLIST Boolean True YDL_NO_PLAYLIST=True
YDL_COOKIES_FILE String None YDL_COOKIES_FILE="/data/cookies.txt"
YDL_COOKIES_BROWSER String None YDL_COOKIES_BROWSER="firefox"
YDL_IGNORE_ERRORS Boolean/String True YDL_IGNORE_ERRORS=True
YDL_RESTRICT_FILENAMES Boolean False YDL_RESTRICT_FILENAMES=True
YDL_GEO_BYPASS Boolean False YDL_GEO_BYPASS=True
YDL_WRITE_THUMBNAIL Boolean True YDL_WRITE_THUMBNAIL=True
YDL_THUMBNAIL_FORMAT String None YDL_THUMBNAIL_FORMAT="png/jpg"
YDL_WRITE_SUBTITLES Boolean False YDL_WRITE_SUBTITLES=True
YDL_SUBTITLES_FORMAT String None YDL_SUBTITLES_FORMAT="srt/vtt/best"
YDL_CONVERT_SUBTITLES String None YDL_CONVERT_SUBTITLES="srt"
YDL_SUBTITLES_LANGS String "all" YDL_SUBTITLES_LANGS="en.*,ja"
YDL_EMBED_METADATA Boolean False YDL_EMBED_METADATA=True

Solves #29 and #33.

For more information on these options see yt-dlp/YoutubeDL.py.

@qx6ghqkz qx6ghqkz marked this pull request as ready for review May 29, 2024 04:39
@qx6ghqkz qx6ghqkz changed the title Added support for new options: thumbnails, subtitles, metadata, etc. Add support for new options: thumbnails, subtitles, metadata, etc. May 29, 2024
List of options: merge_output_format, noplaylist, cookiefile, cookiesfrombrowser, postprocessors: FFmpegSubtitlesConvertor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant