Quote:
Originally Posted by thiago.eec
Version 1.6.3 - 20 Aug 2024
- Bug fix: use a case sensitive match for genres, since that's how calibre's tags work
|
Where does calibre do case sensitive matching for tags, either custom or standard? It shouldn't. AFAIK one cannot have two tags in a library that differ only in case. For example, given
Code:
s = some_string.lower()
for t in tags:
if s == t.lower():
print('foo')
it should be impossible to print more than one line.
Another example:
Code:
set1 = db.all_tags() #made up function
set2 = set()
for t in set1:
set2.add(t.lower())
len(set1) will always equal len(set2)