View Single Post
Old 01-17-2025, 11:43 AM   #554
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by wjBLqf-_9 View Post
Thank you for your work on the Calibre plugin "EpubMerge"!

Would you please consider adding the following feature to your plugin?

In the plugin config page, please put a section to programatically configure frequently-performed-follow-up-tasks
So, the request is to give EpubMerge a post processing feature that the user can configure "programmatically" to do basically anything? From your examples, including, but not limited to:
  • Setting library metadata on the new such as title and series from in the input data by;
  • Reading/using the full range of metadata from the input books, and;
  • Calling other plugins (Generate Cover) or built-in actions (Calibre's generate cover).
At that point you are, IMO, arguably re-inventing Calibre's plugin system. The Action Chains plugin has given it a try and it is hugely complex. I am not interested in adding that level of complexity to EpubMerge.

I might be willing to consider some parts of your specific requests, especially if other users agree they are worthwhile.

Title
Quote:
Originally Posted by wjBLqf-_9 View Post
#1 = Give the end user the ability to configure the plugin how to programatically auto name the new merged epub:
"Series Name" "Lowest Series Index"-"highest series index" "(Anthology)"
eg: "Sword of Truth 01-23 (Anthology)"
EM already has code to use the series name for title if all input books share a series.

It should be possible to add code to search the library for the series, compare the number of books found to the number of input books, and to use "Series low-high AnthologyWord" if the number of input books and number of books in series don't match.

That doesn't address cases of skipping numbers, ie, including 1 and 3 but not 2 resulting in a 2 chapter merge titled 1-3.

Series on Merge Book
Quote:
Originally Posted by wjBLqf-_9 View Post
#2 = Give the end user the ability to configure the plugin to update the newly merged epub files's series index number to a specified value.
EpubMerge doesn't populate the merged book's Series column. What would it even use? In the case given, merging books in a series, you definitely don't want the same series name.

And EM already opens the "Edit metadata" dialog for you so you can set it as you like.

Cover Generation
Quote:
Originally Posted by wjBLqf-_9 View Post
#3 = Give the end user the ability to configure the plugin to regenerate the default cover of the newly merged epub.
Everybody assumes generating a cover is easy.

But then everybody wants to do it a different way and then it isn't easy anymore. I've gone down that path before and I don't plan to again.

I use a shortcut/hotkey to call Generate Cover. I can generate my preferred default cover in two key strokes: 'g' 'Enter'.
JimmXinu is offline   Reply With Quote