Fixes issues #344, #314

Added in code to place single files or groups of files that are not contained in a folder into there own folder or grouped folder based on parsing of the filenames to extract details required to determin correcting folder naming.
This commit is contained in:
echel0n 2014-04-23 19:50:51 -07:00
commit f7e56b979b
258 changed files with 73367 additions and 174 deletions

View file

@ -2,7 +2,7 @@ import os
import time
import nzbtomedia
import requests
from nzbtomedia.nzbToMediaUtil import convert_to_ascii, joinPath
from nzbtomedia.nzbToMediaUtil import convert_to_ascii
from nzbtomedia import logger
class autoProcessComics:
@ -39,7 +39,7 @@ class autoProcessComics:
params = {}
params['nzb_folder'] = dirName
if remote_path:
params['nzb_folder'] = joinPath(remote_path, os.path.basename(dirName))
params['nzb_folder'] = os.path.join(remote_path, os.path.basename(dirName))
if inputName != None:
params['nzb_name'] = inputName