Remove extension edits
This commit is contained in:
parent
be7454f72a
commit
86744c0510
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue