Quote:
Originally Posted by un_pogaz
Oh, un plugin babelio, merci, ça sera utile.
You can also retrieve the current translated value of 'Unknown' with
Code:
from calibre.ebooks.metadata.book.base import NULL_VALUES
NULL_VALUES is a dict, but small trap 'authors' value is a list
Code:
nknwn = ['Inconnu(e)', 'Unknown', NULL_VALUES['authors'][0]]
|
Another option if you have a metadata object (mi): use
Code:
mi.is_null('authors')