mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
Fix [=-< Q o Q >-=] search
This commit is contained in:
parent
75f8c9970f
commit
0a3a2491d8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue