View Single Post
Old 10-14-2022, 11:58 AM   #3
lrpirlet
Connoisseur
lrpirlet began at the beginning.
 
Posts: 96
Karma: 40
Join Date: Mar 2020
Location: Belgium (sorry, I am from the Walloon side of the country and I speak french only)
Device: PW3, Kobo Libra H2O
OK, fair enough... If that is the normal behavior, I'll make a note in the associated documentation.

Thanks anyway.

To be complete this is what I have done in the very first line of identify():
Code:
        debug=self.dbg_lvl & 1
        if debug:
            log.info("title             : ", title)
            log.info("identifiers       : ", identifiers)
            log.info("authors           : ", authors)

        nknwn = ['Inconnu(e)', 'Unknown']
        for i in range(len(nknwn)):
            if authors and nknwn[i] in authors[0]: 
                authors = None
                break
            
        if debug:
            log.info("authors corrected : ", authors)
If switching between language, the nknwn list should be completed. I may add French Canadian, Italian and Roman too...
lrpirlet is offline   Reply With Quote