mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
parent
8188455e13
commit
00ca156564
5 changed files with 28 additions and 9 deletions
|
@ -84,8 +84,12 @@ class autoProcessMusic:
|
|||
return 1 # failure
|
||||
|
||||
logger.debug("Result: %s" % (r.text),section)
|
||||
if r.text == "OK":
|
||||
logger.postprocess("SUCCESS: Post-Processing started for %s in folder %s ..." % (inputName, dirName),section)
|
||||
|
||||
if not r.status_code == requests.codes.ok:
|
||||
logger.error("Server returned status %s" % (str(r.status_code)), section)
|
||||
return 1
|
||||
elif r.text == "OK":
|
||||
logger.postprocess("SUCCESS: Post-Processing started for %s in folder %s ..." % (inputName, dirName),section)
|
||||
else:
|
||||
logger.error("FAILED: Post-Processing has NOT started for %s in folder %s. exiting!" % (inputName, dirName),section)
|
||||
return 1 # failure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue