checkMetadata: support WebM containers

This commit is contained in:
2023-02-24 16:22:02 +01:00
committed by Hannes Braun
parent b7ac2a2ae5
commit 773c2f8ea8

View File

@ -27,7 +27,7 @@ class MediaFile:
duration: int #in sec
def supported_file_extension(filename):
if filename.endswith('.mp4') or filename.endswith('.mkv') or filename.endswith('.m4v'):
if filename.endswith('.mp4') or filename.endswith('.mkv') or filename.endswith('.webm') or filename.endswith('.m4v'):
return True
return False