Author/Title sort
I wrote a little plugin that reads the metadata of books using self.db.get_metadata, then changes the values of the author and/or the title and writes the data back using self.db.set_metadata.
Everything works.
What I don't get to work, how do I set author_sort and/or title_sort of my changed values? Is there a function that I can use to calculate and write them back?
One more question, I also use QProgressDialog, it works, but it always shows "libprs500" in the header of the progress window. How do i get rid of this?
|