mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-13 16:52:54 -07:00
Added extra video extensions.
This commit is contained in:
parent
3e7fef87b7
commit
c8d3ccb241
1 changed files with 1 additions and 1 deletions
|
@ -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)):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue