From c8d3ccb24146502ae6af9c171593ae13b68e00d7 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Tue, 12 Feb 2013 03:45:54 -0800 Subject: [PATCH] Added extra video extensions. --- TorrentToMedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 2872422b..f243c1db 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -117,7 +117,7 @@ else: sys.exit(-1) test = ['.zip', '.rar', '.7z', '.gz', '.bz', '.tar', '.arj'] -test2 = ['.mkv', '.avi', '.divx', '.xvid', '.mov', '.wmv'] +test2 = ['.mkv', '.avi', '.divx', '.xvid', '.mov', '.wmv', '.mp4', '.mpg', '.mpeg'] f = [filenames for dirpath, dirnames, filenames in os.walk(Directory)] ext = [os.path.splitext(file)[1] for file in f[1]] if set(ext).intersection(set(test)):