From 1ec95fe7147280f420be70217433eaeee4e73fd2 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Thu, 14 Mar 2024 18:51:59 +0800 Subject: [PATCH] fix(tubesync): patch yt-dlp options These options disable continue. --- package/tubesync/ensure-fragments.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/tubesync/ensure-fragments.patch b/package/tubesync/ensure-fragments.patch index c3f30bea..42c38673 100644 --- a/package/tubesync/ensure-fragments.patch +++ b/package/tubesync/ensure-fragments.patch @@ -1,13 +1,14 @@ diff --git a/tubesync/sync/youtube.py b/tubesync/sync/youtube.py -index 4ac6e83..2915bf9 100644 +index 4ac6e83..f0cf5b7 100644 --- a/tubesync/sync/youtube.py +++ b/tubesync/sync/youtube.py -@@ -119,6 +119,8 @@ def download_media(url, media_format, extension, output_file, info_json, +@@ -119,6 +119,9 @@ def download_media(url, media_format, extension, output_file, info_json, 'writesubtitles': write_subtitles, 'writeautomaticsub': auto_subtitles, 'subtitleslangs': sub_langs.split(','), + 'fragment_retries': 65536, + 'skip_unavailable_fragments': False, ++ 'continue_dl': False, } sbopt = {