From 86744c05107630518dece519ccdcbe2a2f3c9b04 Mon Sep 17 00:00:00 2001 From: pacoccino Date: Sat, 2 Sep 2023 14:37:07 +0200 Subject: [PATCH] Remove extension edits --- tubesync/sync/models.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tubesync/sync/models.py b/tubesync/sync/models.py index f7f949e..97d76cb 100644 --- a/tubesync/sync/models.py +++ b/tubesync/sync/models.py @@ -103,8 +103,7 @@ class Source(models.Model): EXTENSION_M4A = 'm4a' EXTENSION_OGG = 'ogg' EXTENSION_MKV = 'mkv' - EXTENSION_MP4 = 'mp4' - EXTENSIONS = (EXTENSION_M4A, EXTENSION_OGG, EXTENSION_MKV, EXTENSION_MP4) + EXTENSIONS = (EXTENSION_M4A, EXTENSION_OGG, EXTENSION_MKV) # as stolen from: https://wiki.sponsor.ajay.app/w/Types / https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/postprocessor/sponsorblock.py @@ -417,7 +416,7 @@ class Source(models.Model): else: raise ValueError('Unable to choose audio extension, uknown acodec') else: - return self.EXTENSION_MP4 + return self.EXTENSION_MKV @classmethod def create_url(obj, source_type, key):