mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
add ".nzb" to nzbget nzbName for SickBeard
fixes https://github.com/Tolstyak/Sick-Beard/issues/16
This commit is contained in:
parent
2950caad33
commit
ba363fa65c
2 changed files with 2 additions and 2 deletions
|
@ -365,7 +365,7 @@ if os.environ.has_key('NZBOP_SCRIPTDIR') and not os.environ['NZBOP_VERSION'][0:5
|
||||||
download_id = ""
|
download_id = ""
|
||||||
if os.environ.has_key('NZBPR_COUCHPOTATO'):
|
if os.environ.has_key('NZBPR_COUCHPOTATO'):
|
||||||
download_id = os.environ['NZBPR_COUCHPOTATO']
|
download_id = os.environ['NZBPR_COUCHPOTATO']
|
||||||
nzbDir, inputName, inputCategory = (os.environ['NZBPP_DIRECTORY'], os.environ['NZBPP_NZBNAME'], os.environ['NZBPP_CATEGORY'])
|
nzbDir, inputName, inputCategory = (os.environ['NZBPP_DIRECTORY'], os.environ['NZBPP_NZBFILENAME'], os.environ['NZBPP_CATEGORY'])
|
||||||
# SABnzbd
|
# SABnzbd
|
||||||
elif len(sys.argv) == SABNZB_NO_OF_ARGUMENTS:
|
elif len(sys.argv) == SABNZB_NO_OF_ARGUMENTS:
|
||||||
# SABnzbd argv:
|
# SABnzbd argv:
|
||||||
|
|
|
@ -197,7 +197,7 @@ if os.environ.has_key('NZBOP_SCRIPTDIR') and not os.environ['NZBOP_VERSION'][0:5
|
||||||
|
|
||||||
# All checks done, now launching the script.
|
# All checks done, now launching the script.
|
||||||
Logger.info("Script triggered from NZBGet, starting autoProcessTV...")
|
Logger.info("Script triggered from NZBGet, starting autoProcessTV...")
|
||||||
result = autoProcessTV.processEpisode(os.environ['NZBPP_DIRECTORY'], os.environ['NZBPP_NZBNAME'], status)
|
result = autoProcessTV.processEpisode(os.environ['NZBPP_DIRECTORY'], os.environ['NZBPP_NZBFILENAME'], status)
|
||||||
# SABnzbd
|
# SABnzbd
|
||||||
elif len(sys.argv) == SABNZB_NO_OF_ARGUMENTS:
|
elif len(sys.argv) == SABNZB_NO_OF_ARGUMENTS:
|
||||||
# SABnzbd argv:
|
# SABnzbd argv:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue