![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Book specific conversion settings
Whenever I override the Conversion settings for a specific book I add 'conv-set' in the book's #admin-tags column… but I sometimes forget to do that
And if I revert to the Preferences settings more often than not I forget to remove 'conv-set' from #admin_tags. So, at irregular intervals I eyeball the results of a search for #admin_tags:"=conv-set" alongside the 'conversion_options' table in metadata_db. and make necessary corrections in the #admin-tags column. Can anyone suggest an easier, preferably automatic way to achieve the same result I looked in the template function doco, and JobSpy; and AFAICT Action Chains is unaware of what happens within the child windows of the Convert Book dialogue. BR |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,265
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You could write a small plugin that syncs the value of your custom column to whether the stored conversion settings differ from the current defaults. But that is probably not what you actually want, since if you change a default then all books get marked as having custom settings.
|
![]() |
![]() |
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
What I really need is for CRISPR to provide me with a memory upgrade.
Maybe chaley could add a 'has_conv_settings' template function - a'la his 'has_extra_files' function. I currently show a diode.png if #admin_tags has conv-set, which I could change to has_conv_settings(). BR |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,384
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I don't think this has enough general utility to make a template function for it.
Here is a python stored template that does the job. It is in a form suitable for import in the Stored Templates tab in Preferences / Template functions. |
![]() |
![]() |
![]() |
#5 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,838
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
![]() |
![]() |
![]() |
#6 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() I assumed that if I click Restore defaults button in the Book conversion dialogue it would remove the relevant row in the conversion_options table - but it doesn't. What the button does is to "Use the defaults" for this conversion. The only way I've found to remove them is via the explicit checkbox in Bulk metadata edit. BR |
|
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I created a new library and added the Quick Start guide. I added the Stored Template chaley provided above, and use that template in a column icon rule. I then did an EPUB->EPUB conversion with no adjustments to any of the Transform settings. After the conversion the "has_conversion_options" icon is shown AND a row has been added to the conversion options table - see attached before and after screenshots. That seems contrary to what's written here ==>> How options are set/saved for conversion BR |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,384
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Yea, converting a book always saves the coversion settings for that book. I don't know of any exception.
I found you can erase the conversion settings in the convert dialog by checking the "Use defaults" button then pressing cancel. It seems that you never want to save conversion settings. I don't know how to do that, but it is easy enough to erase them all using bulk edit. It would also be easy(ish) to use action chains and a python action to reset the conversion settings for selected books. |
![]() |
![]() |
![]() |
#9 | |||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() Don't do many in-library conversions, I did a few epub->docx recently using the default settings and was surprised to see the entries in the conversion-options table. Quote:
Quote:
But, I will keep the has_conversion_options stored template and column icon as a reminder — to clear the conv_options entry via bulk MDE if I used the default settings, OR leave the entry in place, and make a note of what changes I made to which Transforms to achieve what result. ![]() BR |
|||
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,265
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,384
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The Edit Metadata shortcut will start Edit Metadata (Single) if one book is selected, otherwise Edit Metadata (bulk). The Edit Metadata individually shortcut will always start the Edit Metadata (Single) dialog no matter how many books are selected. You use "next" and "previous" to move through the selected books.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command to open settings to specific page? | neil_swann80 | PocketBook Developer's Corner | 1 | 03-13-2024 02:40 AM |
Book Conversion Settings for Kindle | Princess kindle | Conversion | 8 | 04-26-2020 07:49 PM |
Mass conversion on specific file type. | C Alberga | Conversion | 2 | 08-20-2016 11:18 PM |
Book Specific Conversion Settings Column | BetterRed | Library Management | 0 | 05-10-2015 05:04 PM |
remove stored conversion settings - single book - how? | cybmole | Conversion | 3 | 02-23-2011 07:12 AM |