auto-crc.py: v1.1

* Remove m2ts support
This commit is contained in:
LightArrowsEXE 2020-06-17 03:13:17 +02:00
parent a766909e02
commit 07ee1c4cf3

View file

@ -14,7 +14,7 @@ import re
__author__ = "LightArrowsEXE"
__license__ = 'MIT'
__version__ = '1.0'
__version__ = '1.1'
def calculateCRC(f):
@ -43,7 +43,7 @@ def main(recursive=False):
for f in filelist:
mime = mimetypes.types_map.get(os.path.splitext(f)[-1], "")
if mime.startswith("video/") or f.endswith('.m2ts') or f.endswith('.mkv'):
if mime.startswith("video/") or f.endswith('.mkv'):
if args.strip:
strip_crc(f)
else: