1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 09:11:46 +00:00

FIX: nzbs from nzbx would fail on post-processing.

This commit is contained in:
evilhero 2013-01-13 14:59:25 -05:00
parent 236f42ce81
commit 99d5ebb41c

View file

@ -636,6 +636,11 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr, Is
logger.fdebug("nzbname used for post-processing:" + str(nzbname)) logger.fdebug("nzbname used for post-processing:" + str(nzbname))
#we need to change the nzbx string now to allow for the nzbname rename.
if nzbprov == 'nzbx':
nzbxlink_st = linkapi.find("*|*")
linkapi = linkapi[:(nzbxlink_st + 3)] + str(nzbname)
logger.fdebug("new linkapi (this should =nzbname) :" + str(linkapi))
# let's build the send-to-SAB string now: # let's build the send-to-SAB string now:
tmpapi = str(mylar.SAB_HOST) tmpapi = str(mylar.SAB_HOST)
logger.fdebug("send-to-SAB host string: " + str(tmpapi)) logger.fdebug("send-to-SAB host string: " + str(tmpapi))