1
0
Fork 0

yt-dlp fixes

This commit is contained in:
Joseph Turian 2022-09-14 06:27:58 +02:00
parent e41f313fa3
commit f729bbe122

View file

@ -144,12 +144,17 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = {
'--no-call-home', '--no-call-home',
'--write-sub', '--write-sub',
'--all-subs', '--all-subs',
'--write-auto-sub', # There are too many of these and youtube
# throttles you with HTTP error 429
#'--write-auto-sub',
'--convert-subs=srt', '--convert-subs=srt',
'--yes-playlist', '--yes-playlist',
'--continue', '--continue',
'--ignore-errors',
'--no-abort-on-error', '--no-abort-on-error',
# --ignore-errors must come AFTER
# --no-abort-on-error
# https://github.com/yt-dlp/yt-dlp/issues/4914
'--ignore-errors',
'--geo-bypass', '--geo-bypass',
'--add-metadata', '--add-metadata',
'--max-filesize={}'.format(c['MEDIA_MAX_SIZE']), '--max-filesize={}'.format(c['MEDIA_MAX_SIZE']),