mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Added headers to autoProcess* scripts to make logging nicer
This commit is contained in:
parent
d2e3275562
commit
36df37d45e
5 changed files with 20 additions and 0 deletions
|
@ -18,6 +18,10 @@ class autoProcessComics:
|
||||||
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
logger.postprocess("## ..::[%s]::.. :: CATEGORY:[%s]", section, inputCategory)
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
|
||||||
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
||||||
port = nzbtomedia.CFG[section][inputCategory]["port"]
|
port = nzbtomedia.CFG[section][inputCategory]["port"]
|
||||||
username = nzbtomedia.CFG[section][inputCategory]["username"]
|
username = nzbtomedia.CFG[section][inputCategory]["username"]
|
||||||
|
|
|
@ -17,6 +17,10 @@ class autoProcessGames:
|
||||||
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
logger.postprocess("## ..::[%s]::.. :: CATEGORY:[%s]", section, inputCategory)
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
|
||||||
status = int(status)
|
status = int(status)
|
||||||
|
|
||||||
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
||||||
|
|
|
@ -172,6 +172,10 @@ class autoProcessMovie:
|
||||||
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
logger.postprocess("## ..::[%s]::.. :: CATEGORY:[%s]", section, inputCategory)
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
|
||||||
status = int(status)
|
status = int(status)
|
||||||
|
|
||||||
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
||||||
|
|
|
@ -20,6 +20,10 @@ class autoProcessMusic:
|
||||||
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
logger.postprocess("## ..::[%s]::.. :: CATEGORY:[%s]", section, inputCategory)
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
|
||||||
status = int(status)
|
status = int(status)
|
||||||
|
|
||||||
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
host = nzbtomedia.CFG[section][inputCategory]["host"]
|
||||||
|
|
|
@ -25,6 +25,10 @@ class autoProcessTV:
|
||||||
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
"We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
logger.postprocess("## ..::[%s]::.. :: CATEGORY:[%s]", section, inputCategory)
|
||||||
|
logger.postprocess("#########################################################")
|
||||||
|
|
||||||
# auto-detect correct fork
|
# auto-detect correct fork
|
||||||
fork, fork_params = autoFork(inputCategory)
|
fork, fork_params = autoFork(inputCategory)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue