I'm trying to update some metadata fields (titles, authors and series) from a plugin.
I'm using a Metainformation object to fill the metadata, and then updating it like that:
mi = Metainformation(None)
mi.title = "My title"
mi.authors = ["Some autor"]
mi.series = "My series"
It works OK. But when I update a book's string value (like title, authors or series) with same string but changing capitals, old value rest unchanged. Why?
I mean for example: I have a book titled "Mi new book". If I want to change this to "Mi New Book", it doesn't work, and old value for title stays ("Mi new book", without capitals).
How can I solve this?