forked from localhorst/media_management_scripts
Compare commits
1 Commits
master
...
webm-suppo
Author | SHA1 | Date | |
---|---|---|---|
4a93c1f9db
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user