mirror of
https://github.com/evilhero/mylar
synced 2025-01-03 13:34:33 +00:00
FIX: update opds.py for tiered searches
Changes to the annual table caused annual detection to break.
This commit is contained in:
parent
2743e8fad0
commit
18b5608998
1 changed files with 2 additions and 2 deletions
|
@ -380,7 +380,7 @@ class OPDS(object):
|
||||||
updated = issue['ReleaseDate']
|
updated = issue['ReleaseDate']
|
||||||
image = None
|
image = None
|
||||||
thumbnail = None
|
thumbnail = None
|
||||||
if 'DateAdded' in issue:
|
if not 'ReleaseComicID' in issue:
|
||||||
title = escape('%s - %s' % (issue['Issue_Number'], issue['IssueName']))
|
title = escape('%s - %s' % (issue['Issue_Number'], issue['IssueName']))
|
||||||
image = issue['ImageURL_ALT']
|
image = issue['ImageURL_ALT']
|
||||||
thumbnail = issue['ImageURL']
|
thumbnail = issue['ImageURL']
|
||||||
|
@ -451,7 +451,7 @@ class OPDS(object):
|
||||||
image = None
|
image = None
|
||||||
thumbnail = None
|
thumbnail = None
|
||||||
if issuebook:
|
if issuebook:
|
||||||
if 'DateAdded' in issuebook.keys():
|
if not 'ReleaseComicID' in issuebook.keys():
|
||||||
if issuebook['DateAdded'] is None:
|
if issuebook['DateAdded'] is None:
|
||||||
title = escape('%03d: %s #%s - %s (In stores %s)' % (index + number, issuebook['ComicName'], issuebook['Issue_Number'], issuebook['IssueName'], issuebook['ReleaseDate']))
|
title = escape('%03d: %s #%s - %s (In stores %s)' % (index + number, issuebook['ComicName'], issuebook['Issue_Number'], issuebook['IssueName'], issuebook['ReleaseDate']))
|
||||||
image = issuebook['ImageURL_ALT']
|
image = issuebook['ImageURL_ALT']
|
||||||
|
|
Loading…
Reference in a new issue