Quote:
Originally Posted by Subtext
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1779, in update_books_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 2318, in update_metadata
IndexError: string index out of range
Any idea what I can do to fix this?
|
Looking at the code, I suspect you have a custom_columns_settings line that has a comma(,) to indicate a flag but don't actually have a flag value (r, n or a).
Quote:
Originally Posted by Atherton25
...
So the question: Is there some sort of mechanism in FFF to auto-convert images to jpg (and possibly reduce large images)? If not, is there a way to do it without converting to mobi and then BACK to epub (which destroys the usability of it with FFF)?
|
Yes, as ownedbycats mentioned:
Quote:
Originally Posted by ownedbycats
There is, but if I understand the comments right it doesn't work in plugin.
Code:
## jpg or png
## -- jpg produces smaller images, and may be supported by more
## readers, but it's older and doesn't allow transparency.
## Transparency removed as if remove_transparency: true
## -- png is newer but does allow transparency, but only in CLI.
## It doesn't work in calibre PI due to limitations of the API.
convert_images_to: jpg
|
That comment about PI limitations refers to not being able to convert to png. jpg should work.
There's also a
image_max_size setting (default: 580, 725) and even
grayscale_images for eInk readers.
Search in defaults.ini (there's a button on the personal.ini config tab) for images to see the possible settings and their default values.