View Single Post
Old 03-13-2011, 06:59 AM   #1
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
[GUI Plugin] Quality Check

This plugin is intended to help you identify covers or book metadata that may need editing in your library that the normal calibre search criteria cannot identify, or is more conveniently accessible. It also offers a battery of ePub quality checks to help you identify ePubs that may warrant further attention to remove cruft files, reconvert etc. You can also search across your ePubs for ad hoc criteria to find text or specifically named items using regular expressions.

Amazon Fire users will find the Mobi checks useful to identify books which will not show in the correct folder due to internal metadata issues with the ASIN or cdetype.

For the OCD types, this plugin can be used to find books that need better quality covers based on physical or file size to be sourced to replace those in your library currently.

You may have noticed when editing individual books in the Edit Metadata screen that your book has a red colored background field indicating a potential problem. This plugin allows you to bulk find all such books in your library so that you can resolve any issues such as by using the bulk metadata edit dialog. A separate "Check missing" menu offers a quick way to serch for common missing data without having to remember calibre's search syntax.

Main Features:
  • Find ePub formats that have one, multiple, legacy or no jackets. Legacy jackets are from calibre conversions prior to 0.6.50 which will result in duplicated jackets if you convert again.
  • Find ePub formats that are invalid due to a missing container.xml file
  • Find ePub formats with invalid namespaces specified in the container or opf manifest
  • Find ePub formats that have non dc: namespace elements in the manifest
  • Find ePub formats that have files listed in the .opf manifest that are not in the ePub file
  • Find ePub formats that have files in the ePub that are not included in the .opf manifest
  • Find ePub formats that have CSS files in the ePub manifest that are not used from the html content
  • Find ePub formats that have unused image files that can be safely deleted
  • Find ePub formats that have iTunes plist or artwork files from viewing the ePub in iTunes
  • Find ePub formats that have calibre bookmarks files from the calibre ebook viewer
  • Find ePub formats that have OS artifacts like .DS_Store or Thumbs.db
  • Find ePub formats that have an NCX TOC that is hierarchical
  • Find ePub formats that have an NCX TOC with < 3 entries
  • Find ePub formats that have an NCX TOC with broken link entries
  • Find ePub formats that have broken <guide> references in the manifest
  • Find ePub formats that have html files larger than 260KB requiring splitting
  • Find ePub formats that have DRM
  • Find ePub formats that have Adobe DRM <meta> tags
  • Find ePub formats that have or do not have a cover that is replaceable when exporting from calibre
  • Find ePub formats that have or do not have SVG covers created by calibre
  • Find ePub formats that have or have not been converted using calibre
  • Find ePub formats that have <address> smart tags which corrupt readability
  • Find ePub formats that have embedded fonts
  • Find ePub formats that have @font-face declarations in CSS or html files
  • Find ePub formats that have Adobe .xpgt files with margins specified
  • Find ePub formats that have Adobe inline .xpgt links in the html files
  • Find ePub formats that have are left or unjustified i.e. no CSS file containing text-align:justify
  • Find ePub formats that have book margins different to your calibre defaults
  • Find ePub formats that have no book margins defined
  • Find ePub formats that have inline margins defined on the content files
  • Find ePub formats that have javascript files or <script> blocks
  • Find ePub formats that have unsmartened punctuation
  • Search the contents of ePub formats for ad hoc regular expressions of your own
  • Find Mobi/AZW/AZW3 formats that will not show in the documents folder on an Amazon Fire due to cdetype or ASIN missing/incorrect (with a Fix option below).
  • Find Mobi/AZW/AZW3 formats that have their Facebook/Twitter sharing disable on an Amazon Fire (with a Fix option below)
  • Find Mobi/AZW/AZW3 formats that have publisher imposed limits on the amount of text that can be placed in clipping notes when read on a Kindle.
  • Find books that have covers based on a choice of criteria such as file size or dimensions
  • Find books with an invalid title sort
  • Find books with an invalid author sort
  • Find books with an invalid ISBN
  • Find books with an invalid pubdate (equal to date timestamp)
  • Find books with a duplicate ISBN
  • Find books with a duplicate series
  • Find books with a series gap
  • Find books with a series numbering that does not match the published date
  • Find books with more than a specified number of tags
  • Find books with comments that have HTML style tags embedded like bold or italic
  • Find books with comments that have no HTML tags at all
  • Find books with commas in the author (useful if your author is FN LN)
  • Find books with no commas in the author (useful if your author is LN, FN)
  • Find books with authors that are all upper or all lower case
  • Find books with authors that contain non-alphabetic characters like incorrect separators or cruft
  • Find books with authors that contain non-ascii characters of accents/diatrics
  • Find books with authors that have initials in a different punctuation to your preference
  • Find books with titles that have possible series info like hyphens/numerics
  • Find books with titles that do not appear to be a valid title case
  • Search for books missing metadata, such as titles, authors, isbn, pubdate, publisher, tags, rating, comments, languages, cover or formats.
  • Change the search scope to either search your entire library (respecting search restrictions) or only your selected book(s).
  • Swap author names for the selected book(s) between FN LN and LN, FN order or vice versa
  • Fix author initials for selected books to your preferred naming format
  • Rename author names for selected books to replace non-ascii characters
  • Find and fix the file sizes stored for a book format (useful if you edit books outside of calibre)
  • Find and fix folder/file paths that are missing commas for inconsistencies within a library for books added after calibre 0.8.35
  • Cleanup orphaned opf/jpg files/folders resulting from using Save to Disk followed by Remove from device. Do NOT ever run this against a calibre library folder, it is intended for external save to disk/device folders only.
  • Fix Mobi/AZW/AZW3 files for a Kindle Fire to insert an ASIN and set the correct cdetype in the internal data to enable sharing and appear in the correct folder
  • Ability to add books to an exclusion list for a particular quality check, if you intentionally want to exempt them. You can view and edit your exclusion lists.
  • Customise the menus to hide items not of interest

Special Notes:
  • Help Documentation
  • Change History
  • The default scope of all checks is to your entire library if you have no search restrictions in place, or just to the restricted subset of books if you have applied a restriction. You might find applying a restriction useful if you have a very large library to do cover checks and some of the ePub checks which can be time consuming. Or you can use the "Search scope" submenu to switch to searching selected books only.
  • Requires calibre v3.41.0 or later.

Paypal Donations:
  • If you find this or any of my other plugins useful please feel free to show your appreciation. I have spent many hundreds of unpaid hours in their development and support so any encouragement for me to continue is appreciated!
Attached Files
File Type: zip Quality Check.zip (721.5 KB, 1901 views)

Last edited by kiwidude; 03-23-2024 at 05:17 AM. Reason: New release
kiwidude is online now   Reply With Quote