mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add missing 'language' field to ComicBookInfo metadata for .CBR files.
This commit is contained in:
parent
d98b2e0b9c
commit
24874293c1
@ -114,6 +114,8 @@ def get_comic_book_info(d, mi, series_index='volume'):
|
||||
mi.series_index = float(si)
|
||||
except Exception:
|
||||
mi.series_index = 1
|
||||
if d.get('language', '') != '':
|
||||
mi.languages = [d['language'].strip()]
|
||||
if d.get('rating', -1) > -1:
|
||||
mi.rating = d['rating']
|
||||
for x in ('title', 'publisher'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user