Add missing 'language' field to ComicBookInfo metadata for .CBR files.

This commit is contained in:
Philippe Babin 2019-07-27 17:45:33 -04:00
parent d98b2e0b9c
commit 24874293c1

View File

@ -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'):