From 0a3a2491d8cdd80075015987d2264028fa525598 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Thu, 28 Feb 2013 13:09:54 -0800 Subject: [PATCH] Fix [=-< Q o Q >-=] search --- autoProcessTV.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoProcessTV.py b/autoProcessTV.py index 5a49aa47..c7c267c6 100644 --- a/autoProcessTV.py +++ b/autoProcessTV.py @@ -47,7 +47,7 @@ class AuthURLOpener(urllib.FancyURLopener): def custom_groups(group, dirName): mediaContainer = ['.mkv', '.avi', '.divx', '.xvid', '.mov', '.wmv', '.mp4', '.mpg', '.mpeg', '.iso'] - if group == "QoQ": # for my NL friends :) we want to reverse the file names for the video files. + if group == "[=-< Q o Q >-=]": # for my NL friends :) we want to reverse the file names for the video files. for dirpath, dirnames, filenames in os.walk(dirName): for file in filenames: filePath = os.path.join(dirpath, file) @@ -107,7 +107,7 @@ def processEpisode(dirName, nzbName=None, failed=False): failed_fork = 0 # check for custom groups - customgroups = ['QoQ'] # we can add more to this list + customgroups = ['[=-< Q o Q >-=]'] # we can add more to this list for index in range(len(customgroups)): if customgroups[index].lower() in nzbName.lower(): # match the group in the nzbname custom_groups(customgroups[index], dirName) # files have been renamned