mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Fix #5633 (Ignore unkown when searching for/downloading metadata)
This commit is contained in:
parent
8974401532
commit
24651ed846
@ -84,12 +84,12 @@ class DownloadMetadata(Thread):
|
|||||||
if mi.isbn:
|
if mi.isbn:
|
||||||
args['isbn'] = mi.isbn
|
args['isbn'] = mi.isbn
|
||||||
else:
|
else:
|
||||||
if not mi.title:
|
if not mi.title or mi.title == _('Unknown'):
|
||||||
self.failures[id] = \
|
self.failures[id] = \
|
||||||
(str(id), _('Book has neither title nor ISBN'))
|
(str(id), _('Book has neither title nor ISBN'))
|
||||||
continue
|
continue
|
||||||
args['title'] = mi.title
|
args['title'] = mi.title
|
||||||
if mi.authors:
|
if mi.authors and mi.authors[0] != _('Unknown'):
|
||||||
args['author'] = mi.authors[0]
|
args['author'] = mi.authors[0]
|
||||||
if self.key:
|
if self.key:
|
||||||
args['isbndb_key'] = self.key
|
args['isbndb_key'] = self.key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user