mirror of
https://github.com/evilhero/mylar
synced 2025-03-09 13:24:53 +00:00
FIX: Fix volume search comparison for 32p results (and some nzbs)
This commit is contained in:
parent
8f53f854ff
commit
019290e55e
1 changed files with 5 additions and 1 deletions
|
@ -885,6 +885,7 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa
|
||||||
#vol_label = ct #store the wording of how the Vol is defined so we can skip it later on.
|
#vol_label = ct #store the wording of how the Vol is defined so we can skip it later on.
|
||||||
vol_nono.append(ctchk.index(ct))
|
vol_nono.append(ctchk.index(ct))
|
||||||
volfound = True
|
volfound = True
|
||||||
|
origvol = None
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if len(tmpsplit[1:]) == 4 and tmpsplit[1:].isdigit(): #v2013
|
if len(tmpsplit[1:]) == 4 and tmpsplit[1:].isdigit(): #v2013
|
||||||
|
@ -918,6 +919,9 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if fndcomicversion:
|
if fndcomicversion:
|
||||||
|
if origvol:
|
||||||
|
cleantitle = re.sub(origvol, '', cleantitle).strip()
|
||||||
|
else:
|
||||||
cleantitle = re.sub(fndcomicversion, '', cleantitle).strip()
|
cleantitle = re.sub(fndcomicversion, '', cleantitle).strip()
|
||||||
logger.fdebug('Newly finished reformed cleantitle (with NO volume label): ' + cleantitle)
|
logger.fdebug('Newly finished reformed cleantitle (with NO volume label): ' + cleantitle)
|
||||||
versionfound = "yes"
|
versionfound = "yes"
|
||||||
|
|
Loading…
Add table
Reference in a new issue