mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
final test. Add name to cat to look for dir
This commit is contained in:
parent
40f2d840ee
commit
a079d890ba
1 changed files with 8 additions and 4 deletions
|
@ -121,10 +121,14 @@ if DirBase[1] == Name:
|
|||
Category = DirBase2[1]
|
||||
|
||||
elif DirBase[1] == Movie_Cat or DirBase == TV_Cat:
|
||||
print "INFO: The directory passed is the root directory for category %s" % (DirBase[1])
|
||||
print "WARNING: You should change settings to download torrents to their own directory"
|
||||
print "INFO: We will try and determine which files to process, individually"
|
||||
root = 1
|
||||
if os.path.isdir(os.path.join(Directory, Name)):
|
||||
print "INFO: Found torrent directory %s in category directory %s" % (os.path.join(Directory, Name), Directory)
|
||||
Directory = os.path.join(Directory, Name)
|
||||
else:
|
||||
print "INFO: The directory passed is the root directory for category %s" % (DirBase[1])
|
||||
print "WARNING: You should change settings to download torrents to their own directory"
|
||||
print "INFO: We will try and determine which files to process, individually"
|
||||
root = 1
|
||||
if not Category:
|
||||
print "INFO: Determined Category to be: %s" % (DirBase2[1])
|
||||
Category = DirBase[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue