FFMpeg-Compressor: Support .m2t file format

This commit is contained in:
OleSTEEP 2023-10-30 00:56:53 +03:00
parent 37e3c9b257
commit e48b7599d1
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ def get_req_ext(file):
def get_file_type(file):
audio_ext = ['.aac', '.flac', '.m4a', '.mp3', '.ogg', '.opus', '.raw', '.wav', '.wma']
image_ext = ['.apng', '.avif', '.bmp', '.jfif', '.pjpeg', '.pjp', '.svg', '.webp', '.jpg', '.jpeg', '.png', '.raw']
video_ext = ['.3gp' '.amv', '.avi', '.gif', '.m4v', '.mkv', '.mov', '.mp4', '.m4v', '.mpeg', '.mpv', '.webm',
video_ext = ['.3gp' '.amv', '.avi', '.gif', '.m2t', '.m4v', '.mkv', '.mov', '.mp4', '.m4v', '.mpeg', '.mpv', '.webm',
'.ogv']
file_extension = os.path.splitext(file)[1]