Skip to content

Commit 783839b

Browse files
committed
Adds a preference for srt format subs to yt-dlp
See gpodder#1788
1 parent 56cc584 commit 783839b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

share/gpodder/extensions/10_youtube-dl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ def fetch_info(self, url, tempname, reporthook):
352352
'progress_hooks': [reporthook], # to notify UI
353353
'writesubtitles': subs,
354354
'subtitleslangs': ['all'] if subs else [],
355+
'subtitlesformat': ['srt', 'best'] if subs else [], # See issue 1788 on github
355356
'postprocessors': [{'key': 'FFmpegEmbedSubtitle'}] if subs else [],
356357
}
357358

0 commit comments

Comments
 (0)