View Single Post
Old 05-05-2015, 02:53 PM   #138
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,011
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JimmXinu View Post
Quote:
Originally Posted by eschwartz View Post
What happens if someone uses Embed Metadata or Polish Books? I wouldn't exactly be surprised to find out there are people who do it in bulk on the whole library at regular intervals.

Keeping the metadata in the EPUB is not IMHO a good move. I suggest keeping it in a cache.db in the plugins folder.
That's a good point. I forget some people are particular about that.

However, I'm more likely to abandon the idea entirely than add a whole new database.
Here's another thought: the metadata could be kept in a long-text type custom column.

This offers certain advantages:
  • It's not going to be polished away.
  • It's visible to the user, so they know if a particular book has it.
  • It could be populated/updated with 'Update Calibre Metadata Only' without having to do epub update.
  • It can still be copied to other libraries, assuming they have the same column.
  • Save time by not having to read the epub to get it.
Disadvantages:
  • It's visible to the user, but they can 'not show' the column to hide it.
  • User could poke at it and break it.
JimmXinu is online now   Reply With Quote