mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Remove our auto-dir feature as it was interfearing with nzbToMedia
This commit is contained in:
parent
684f1fd671
commit
94c908b0c3
1 changed files with 9 additions and 10 deletions
|
@ -1904,12 +1904,9 @@ class HomePostProcess:
|
|||
return _munge(t)
|
||||
|
||||
@cherrypy.expose
|
||||
def processEpisode(self, dir=None, dirName=None, nzbName=None, jobName=None, quiet=None, process_method=None,
|
||||
def processEpisode(self, dir=None, nzbName=None, jobName=None, quiet=None, process_method=None,
|
||||
force=None, is_priority=None, failed="0", type="auto"):
|
||||
|
||||
# auto-detect dirParam style
|
||||
dirParam = dir if dir is not None else dirName if not None else redirect("/home/postprocess/")
|
||||
|
||||
if failed == "0":
|
||||
failed = False
|
||||
else:
|
||||
|
@ -1925,13 +1922,15 @@ class HomePostProcess:
|
|||
else:
|
||||
is_priority = False
|
||||
|
||||
result = processTV.processDir(dirParam, nzbName, process_method=process_method, force=force,
|
||||
is_priority=is_priority, failed=failed, type=type)
|
||||
if quiet is not None and int(quiet) == 1:
|
||||
return result
|
||||
if not dir:
|
||||
redirect("/home/postprocess/")
|
||||
else:
|
||||
result = processTV.processDir(dir, nzbName, process_method=process_method, force=force, is_priority=is_priority, failed=failed, type=type)
|
||||
if quiet is not None and int(quiet) == 1:
|
||||
return result
|
||||
|
||||
result = result.replace("\n", "<br />\n")
|
||||
return _genericMessage("Postprocessing results", result)
|
||||
result = result.replace("\n", "<br />\n")
|
||||
return _genericMessage("Postprocessing results", result)
|
||||
|
||||
|
||||
class NewHomeAddShows:
|
||||
|
|
Loading…
Reference in a new issue