Dear Kovid,
Quote:
You can do most of that already
|
Well, the use case is different.
I know that function to change casing, but it's "hidden" in a sub menu of a context menu.
(by the way, lower / uppercase is working every time. titleing is often not working. I have to lowercase the text and than titeling. That works)
I have books in calibre which are a mess ;-). Title and autor are sometimes swapped, Surname and name are wrong sorted, metadata could not retireved with the existing plugins.
So I want to correct all entries.
Since the input is so different, it's difficult to make all perfect with some regex.
I made the plugin to have the most used functions "at the hand" because I have to look at the entries to decide how to handle.
Some examples:
Title - series #x
Series x - Title
Title : Series
Series # : Title with - in it i.e "the next-used issue"
So I've added that to the plugin
Label: Button: Button:
Extract Series (from left seperated by

(or from right)
Extract Series (from left seperated by -) (or from right)
Next issue:
Some Metadata cannot be retrieved by the implemented search.
What's working most times:
os.exec call the browser with google search. Parameters: Title - Author
You can find the book with a description. So I copy / paste the description to calibre.
If I'm have "edit metadata" open, I cannot use the plugins
If I'm in the main-window, i cannot paste the description.
Am I right, that the disabled plugin with an open modal dialog is an QDialog issue?
One hack would perhaps be to clone the editmetadata dialog and show it as non modal dialog, but then I have to save immediately changed data before navigating to another entry.
In the edit metadata dialog you can edit a lot of books and than you can "cancel". So does the dialog cache all the data?
I hope I could clarify that I want to do with the plugin
Another issue I've found: If you use the edit metadata dialog and navigate through the entries with ALT left/right, the focus disappears.
For example: I click in the author field and (mass) change things. Now I want to edit the next entry -> alt - right: the focus is not in the author field any more.
Is that an little bug? ;-)
Thanks for your time
have a nice day
Jana