mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fixes issues with extracting and linking of archives.
Fixes other issues from previous update.
This commit is contained in:
parent
289d451112
commit
f5f0ff6e10
7 changed files with 64 additions and 51 deletions
|
@ -312,7 +312,7 @@ def main(args):
|
|||
# Perform Manual Post-Processing
|
||||
logger.warning("Invalid number of arguments received from client, Switching to manual run mode ...")
|
||||
|
||||
for section, subsection in nzbtomedia.SUBSECTIONS.items():
|
||||
for section, subsection in nzbtomedia.SECTIONS.items():
|
||||
for category in subsection:
|
||||
for dirName in nzbtomedia.getDirs(subsection[category]):
|
||||
logger.info("Starting manual run for %s:%s - Folder:%s" % (section, category, dirName))
|
||||
|
@ -341,7 +341,7 @@ def main(args):
|
|||
except:
|
||||
inputID = None
|
||||
|
||||
if not clientAgent.lower() in (nzbtomedia.TORRENT_CLIENTS or 'manual'):
|
||||
if not clientAgent.lower() in (nzbtomedia.TORRENT_CLIENTS,'manual'):
|
||||
continue
|
||||
|
||||
results = processTorrent(dirName, os.path.basename(dirName), category, inputHash, inputID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue