checkMetadata: support WebM containers

This commit is contained in:
Hannes Braun 2023-02-24 16:22:02 +01:00
parent 251859e989
commit 4a93c1f9db
Signed by: hannesbraun
GPG Key ID: 7B6557E1DFD685BE
1 changed files with 1 additions and 1 deletions

View File

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