mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
for Mylar
This commit is contained in:
parent
b8fc2ba1c9
commit
51e945ac5e
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ nzbtomedia_configure_logging(os.path.dirname(sys.argv[0]))
|
||||||
Logger = logging.getLogger(__name__)
|
Logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
Logger.info("====================") # Seperate old from new log
|
Logger.info("====================") # Seperate old from new log
|
||||||
Logger.info("nzbToCouchPotato %s", VERSION)
|
Logger.info("nzbToMylar %s", VERSION)
|
||||||
|
|
||||||
# SABnzbd
|
# SABnzbd
|
||||||
if len(sys.argv) == 8:
|
if len(sys.argv) == 8:
|
||||||
|
@ -23,7 +23,7 @@ if len(sys.argv) == 8:
|
||||||
# 5 User-defined category
|
# 5 User-defined category
|
||||||
# 6 Group that the NZB was posted in e.g. alt.binaries.x
|
# 6 Group that the NZB was posted in e.g. alt.binaries.x
|
||||||
# 7 Status of post processing. 0 = OK, 1=failed verification, 2=failed unpack, 3=1+2
|
# 7 Status of post processing. 0 = OK, 1=failed verification, 2=failed unpack, 3=1+2
|
||||||
Logger.info("Script triggered from SABnzbd, starting autoProcessMovie...")
|
Logger.info("Script triggered from SABnzbd, starting autoProcessComics...")
|
||||||
result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[3])
|
result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[3])
|
||||||
|
|
||||||
# NZBGet
|
# NZBGet
|
||||||
|
@ -32,7 +32,7 @@ elif len(sys.argv) == 4:
|
||||||
# 1 The final directory of the job (full path)
|
# 1 The final directory of the job (full path)
|
||||||
# 2 The original name of the NZB file
|
# 2 The original name of the NZB file
|
||||||
# 3 The status of the download: 0 == successful
|
# 3 The status of the download: 0 == successful
|
||||||
Logger.info("Script triggered from NZBGet, starting autoProcessMovie...")
|
Logger.info("Script triggered from NZBGet, starting autoProcessComics...")
|
||||||
result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[2])
|
result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[2])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue