diff --git a/config.jsonc b/config.jsonc index 21382dd..c5d1f88 100644 --- a/config.jsonc +++ b/config.jsonc @@ -1394,6 +1394,7 @@ "video": { "formats": ["mp4"], "previewRatio": 1.3333333333, - "resolutions": [360, 720] + "resolutions": [720], + "reuseUpload": true } } diff --git a/utils.py b/utils.py index b168e6a..4066ac9 100644 --- a/utils.py +++ b/utils.py @@ -80,7 +80,7 @@ def load_vimeo(item): stream.make_timeline() if resolution == 720 and len(parts) == 1: add_subtitles(item, media, tmp) - item.update_timeline() - item.save() os.chdir(cdir) shutil.rmtree(tmp) + item.update_timeline() + item.save()