Merge pull request #897 from kri99/SickRage

Update SickRage dir. Fixes #895
This commit is contained in:
Clinton Hall 2015-12-05 09:28:54 +10:30
commit 12bedbdb5a
2 changed files with 6 additions and 4 deletions

View file

@ -52,14 +52,16 @@ FORKS = {}
FORK_DEFAULT = "default"
FORK_FAILED = "failed"
FORK_FAILED_TORRENT = "failed-torrent"
FORK_SICKRAGETV = "sickragetv"
FORK_SICKRAGE = "sickrage"
FORKS[FORK_DEFAULT] = {"dir": None}
FORKS[FORK_FAILED] = {"dirName": None, "failed": None}
FORKS[FORK_FAILED_TORRENT] = {"dir": None, "failed": None, "process_method": None}
FORKS[FORK_SICKRAGETV] = {"proc_dir": None, "failed": None, "process_method": None, "force": None, "delete_on": None}
FORKS[FORK_SICKRAGE] = {"dir": None, "failed": None, "process_method": None, "force": None, "delete_on": None}
ALL_FORKS = {"dir": None, "dirName": None, "failed": None, "process_method": None, "force": None, "delete_on": None}
SICKBEARD_FAILED = [FORK_FAILED, FORK_FAILED_TORRENT, FORK_SICKRAGE]
SICKBEARD_TORRENT = [FORK_FAILED_TORRENT, FORK_SICKRAGE]
ALL_FORKS = {"dir": None, "dirName": None, "proc_dir": None, "failed": None, "process_method": None, "force": None, "delete_on": None}
SICKBEARD_FAILED = [FORK_FAILED, FORK_FAILED_TORRENT, FORK_SICKRAGETV, FORK_SICKRAGE]
SICKBEARD_TORRENT = [FORK_FAILED_TORRENT, FORK_SICKRAGETV, FORK_SICKRAGE]
# NZBGet Exit Codes
NZBGET_POSTPROCESS_PARCHECK = 92

View file

@ -200,7 +200,7 @@ class autoProcessTV:
if param == "failed":
fork_params[param] = failed
if param in ["dirName", "dir"]:
if param in ["dirName", "dir", "proc_dir"]:
fork_params[param] = dirName
if remote_path:
fork_params[param] = remoteDir(dirName)