Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 03-13-2011, 06:59 AM   #1
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
[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 of v1.9.11:
  • 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:
  • Requires calibre v0.9.29 or later.
  • 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.

Installation Steps:
  1. Download the attached zip file and install the plugin/add to context menu or toolbar/restart calibre as described in the Introduction to plugins thread.

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!

Version History:
Spoiler:

Version 1.9.10/11 - 28 Jul 2014
Support for upcoming calibre 2.0

Version 1.9.9 - 05 Jan 2014
Make Series Gaps report case insensitive
Do not include Series with no gaps in the report
When changing configuration preferences, preserve the search scope

Version 1.9.8 - 28 Sep 2013
Fix for the "Check and rename book paths" function with changes to calibre in 1.x.

Version 1.9.7 - 24 Sep 2013
Fix for the Check and repair book sizes function with changes to calibre in 1.x.

Version 1.9.6 - 09 May 2013
Change for correct support of calibre 0.9.29 virtual libraries feature

Version 1.9.5 - 04 Mar 2013
When using the "Fix ASIN for Kindle Fire" feature, check for mobi-asin as a possible identifier prefix

Version 1.9.4 - 15 Feb 2013
Fix for dependency on calibre code removed in 0.9.19
Display how many matches while running, and when cancelling display the matches found at that point rather than aborting completely.

Version 1.9.3 - 17 Jul 2012
Tidy up the help file for some redundant/missing/renamed menu items
For "Check author initials" support more permutations of special cases to include trailing period - i.e. Jr. as well as Jr
In the config screen put a separate option groupbox in for the author initials setting
Add a "Reformat author initials" option to the "Fix" menu to reformat initials to your preference for authors on the selected books
Add a "Rename author to ascii" option to the "Fix" menu to rename author names to remove diatrics and accents
Enhance the "Repeat last action" tooltip to display what that last action was (in status bar)

Version 1.9.2 - 06 Jul 2012
Now requires calibre 0.8.59
Add a "Check authors non alphabetic" option to Check ePub Metadata menu to find authors with invalid separators or other cruft
Add a "Check authors non ascii" option to Check ePub Metadata menu to find authors with accents/diatrics in their names
Add a "Check authors initials" option to Check ePub Metadata menu to find authors with initials that do not match your preferred style.
Add to plugin configuration screen an author initials dropdown for configuring preferred author initials format
Add a "Check smarten punctuation" option to Check ePub Style menu to search for ePubs with " or ' in body
Add a "Show all occurrences" option to "Search ePub" as a slower running alternative to just displaying the first match
Add a "Plain text content" option to "Search ePub" to search html body content for sentences without any tags
In the log for "Search ePub" display the preceding and following 25 characters around the match in the log
Fix for "Search ePub" to not allow user to search if they have no scope checkboxes set
Change the log viewer to a custom implementation that preserves formatting rather than calibre's <pre> approach.
Minor fix for "Check javascript" to display marked:epub_javascript in the search bar
Change to use a new calibre API function for "Check & fix file size" rather than direct database manipulation
Fixes for "Check epub css margins" feature to fix various bugs and updates to match the latest Modify ePub v1.2.8 release
Fix for "Check Adobe inline .xpgt links" to also look for @import style statements
Fix for "Check manifest files missing" to correctly handle nested relative paths

Version 1.9.1 - 23 Jun 2012
Bug fix for check tags count.

Version 1.9.0 - 22 Jun 2012
Now requires calibre 0.8.57
Store configuration in the calibre database rather than a json file, to allow reuse from different computers (not simultaneously!)
Add a support option to the configuration dialog allowing viewing the plugin data stored in the database
Fix bug which intimated it was possible to exclude books from "Check missing" type checks
Rename "Fix MOBI ASIN for Kindle Fire" to "Fix ASIN for Kindle Fire"
Enhance "Fix MOBI ASIN for Kindle Fire" to now handles MOBI, AZW and AZW3 formats, iterating all if multiple for a book
Fix "Fix ASIN for Kindle Fire" so in scenario of not having an ASIN uses calibre's uuid for the book rather than generating a random one
Change all the "Check Mobi" checks to now work with MOBI, AZW or AZW3 formats

Version 1.8.5 - 09 Jun 2012
Fix bug in "Check Adobe inline .xpgt links" due to ordering of attributes dependency
Add a "Check calibre SVG cover" and "Check no calibre SVG cover" options to Check ePub Structure menu
Add a "Zip filenames" scope to the "Search ePub" dialog to allow searching for files of a specific name
Add a "Check javascript <script>" to Check ePub Style menu
Add a "Check Twitter/Facebook disabled" option to Check Mobi menu to look for an equal ASIN in EXTH 113/504
Add a "Fix MOBI ASIN for Kindle Fire" option to the "Fix" menu to set the EXTH 113/504 fields to your asin/amazon identifier, or a random identifier if not present, plus set cdetype to EBOK
Rename the various epub "TOC" checks to include the word "NCX" to reflect that TOC they refer to
Ensure the various NCX TOC checks do not attempt to run on DRM encrypted books
Do not show error message if unable to parse metadata/ncx files due to incorrect encoding

Version 1.8.4 - 20 May 2012
Subtle enhancements to increase performance of a few checks to not scan irrelevant files.
Put an icon next to the Search scope submenu to show what scope is currently selected.

Version 1.8.3 - 17 May 2012
Fix for numerous checks to ensure uppercase file extensions in epub resources are handled correctly
Add a "Check unused CSS files" option to find .css or .xpgt files that are in the manifest but not referenced from html pages
Add a "Check <guide> broken links" option to find entries in the guide section of the manifest file which do not exist

Version 1.8.2 - 16 May 2012
Fix some casing of various menu items for consistency
Fix for "Check unused image files" to include svg and bmp files as a possible image type
Change the handling of exclusions to ensure that ordering of the books is preserved
Add a "Check clipping limit" option to the Check Mobi menu for files that are limited in the % of book that can be clipped on a Kindle

Version 1.8.1 - 14 May 2012
Add "Check replaceable cover" and "Check non-replaceable cover" checks to indicate whether a cover can be replaced when exported/using Modify ePub to update metadata
Remove the "Check inline Calibre cover" and "Check not inline Calibre cover" checks since replaceable cover checks are more useful
Improve the exception messages for invalid epubs to include the reason

Version 1.8.0 - 12 May 2012
Add a "Search ePub" dialog allowing the user to perform a search for any content matching a regular expression
Fix cosmetic issue of marked text incorrect for search results of "Check inline xpgt" links
Add a "Check Mobi" submenu with "Check missing EBOK cdetype" and "Check missing ASIN" options
Add a "Check broken image links" option to the Check ePub Structure menu, to find epubs with html pages that have broken image links
Add a "Check TOC with broken links" option to the Check ePub Structure menu, to find epubs with NCX links to pages that do not exist

Version 1.7.8 - 07 May 2012
Add a "Search scope" submenu to allow searching selected books rather than all books.
Change Check unused image files to look for both encoded and non encoded versions of the image names and ignore DRM ebooks

Version 1.7.7 - 07 May 2012
Yet another tweak to Check unused image files to cope with characters like commas

Version 1.7.6 - 07 May 2012
Properly fix the spaces encoding when using Check unused image files

Version 1.7.5 - 05 May 2012
Ensure a better error is displayed for books where the EPUB format has been deleted outside of calibre
Fix for Check unused image files to look for spaces in the file name, and handle namespaced images

Version 1.7.4 - 04 May 2012
Protect against a blank author field caused by a bug in the Manage Authors dialog in calibre
Split the Check ePub submenu into two submenus for ease of usage and future expansion
Add a "Check unused image files" option to the Check ePub Structure menu, to find books with jpeg/png image files that are not referenced and can be removed to save space
Add a "Check TOC hierarchical" option to the Check ePub Structure menu, to find books with hierarchical TOC that need flattening for certain devices
Add a "Check Adobe DRM meta tag" option to the Check ePub Structure menu, to find books with html files that contain Adobe <meta /> DRM identifiers
Add a "Check Adobe inline .xpgt links" option to the Check ePub Style menu, to find books with html files that <link /> to a .xpgt file
Add a "Check @font-face" option to the Check ePub Style menu, to find books with CSS or html files that contain @font-face declarations
Add more information into the Help file for newcomers explaining some of the options.

Version 1.7.3 - 09 Apr 2012
Add a "Check series pubdate order" menu option, which will report series where the published date is not in order with the series.
Rename "Check titlecase" to "Check title for titlecase"
Add a "Check authors for case" option to look for author names that are all uppercase or lowercase.
Add a "Check missing" submenu, with options to perform searches for books missing title, authors, isbn, pubdate, publisher, tags, rating, comments, languages, cover, formats

Version 1.7.2 - 13 Feb 2012
Add a "Check and rename book paths" menu option to the Fix submenu, for consolidating author paths after commas change made in calibre 0.8.35.
Fix icons broken from 1.7.1 change on new Fix menu

Version 1.7.1 - 04 Feb 2012
Add a "Fix..." menu moving the Check & fix file sizes and Cleanup OPF folders options into.
Add a "Swap author FN LN <-> LN,FN" menu item for working with selected book(s)
Change the "Check authors with commas" check so requires only one of a multi-author book to have commas

Version 1.7.0 - 03 Dec 2011
Move all the metadata based checks under a submenu, and reorder menus
Add a "Repeat last check" menu item to allow simply running the last check again
Add "Exclude from check..." menu item, to allow excluding books from repeatedly showing you want exempt
Add "View exclusions..." menu item, to allow viewing all excluded books per check and deleting if desired.
Fix missing images from menu for CSS based items
Remove configuration of the Author commas/no commas and titles with series menu items

Version 1.6.4 - 25 Nov 2011
When performing a title sort check, take the first ebook language into account if any
When checking for TOC < 3 items, display the title and authors rather than the path

Version 1.6.3 - 22 Oct 2011
Add ePub checks for various types of body/@page margins (Idolse)
Add ePub check for having <address> smart-tags within their content
For the Series gap check, fix the handling of duplicates

Version 1.6.2 - 19 Sep 2011
Tune the check for series with gaps to exclude series with indexes >= 1000 and handle duplicates

Version 1.6.1 - 17 Sep 2011
Add check for series with gaps (checks missing integer values between 1 and max in series)

Version 1.6.0 - 11 Sep 2011
Upgrade to support the centralised keyboard shortcut management in Calibre

Version 1.5.8 - 13 Jun 2011
Ensure search restrictions are respected after change in 1.5.7

Version 1.5.7 - 12 Jun 2011
Change the ePub zero margin check to only look at manifested APNX files
Fix the way books are searched for so if highlighting is turned on correct subset is searched
Add ePub check for css missing "text-align: justify"

Version 1.5.6 - 08 Jun 2011
No longer look in manifest for NCX file, look for physical file instead to get around media-type variant issues

Version 1.5.5 - 08 Jun 2011
Improve the logging for the ePub TOC check to display when no NCX found
Be more flexible when identifying NCX file to allow for incorrect media type

Version 1.5.4 - 05 Jun 2011
Fix the check for missing manifest files to fix for href names containing # in filenames
Add ePub check for iTunesArtwork to the existing iTunes check
Add ePub check for OS artifacts of .DS_Store and Thumbs.db
Add ePub check for non dc elements in opf manifest (from editing in Sigil or Calibre)
Add ePub check for html files larger than 260KB which may not work on some devices
Increase the amount and formatting quality of the logging for more ePub checks

Version 1.5.3 - 25 May 2011
Add ePub check for invalid namespaces
Add a viewable log for the checks to allow user to see details of errors, missing files etc
Add a Help file describing all of the checks and how to solve them

Version 1.5.2 - 17 May 2011
Prevent ePubs with encrypted fonts from showing as being books with DRM
Rename Abort to Cancel on the progress dialog

Version 1.5.1 - 16 May 2011
Quality checks are run with a progress dialog that can be aborted
Change the ePub check for unmanifested files to exclude iTunes plist and Calibre bookmark files
Add ePub check for embedded fonts in an ePub
Add check for pubdate, testing for equality with date timestamp
Add ePub check for DRM

Version 1.5 - 05 May 2011
Move all the ePub checks onto a Check ePub submenu
Add ePub check for legacy jackets only
Add ePub check for missing container.xml files
Add ePub check for files listed in manifest missing from epub
Add ePub check for unmanifested files
Add ePub check for iTunes plist files
Add ePub check for Calibre bookmarks files
Add ePub check for .xpgt margins
Add ePub check for TOC with < 3 entries
Add ePub check for inline Calibre cover
Add ePub check for no inline Calibre cover
Add ePub check for Calibre conversion
Add ePub check for not Calibre converted
Add check for duplicate series index
Improve having jacket and multiple jacket checks to include legacy jackets
Restructure code internally for ease of future expansion

Version 1.4.1 - 13 Apr 2011
Fix check for missing jacket which would incorrectly handle books with two jackets
Add check for multiple jackets

Version 1.4 - 13 Apr 2011
For very small libraries ensure not divide by zero error from displaying status
If an error retrieving the format path for a book, dump to debug output
For the EPUB jackets check, include numbered jacket files from legacy Calibre conversions
Fix bug in check no html comments which had incorrect logic after 1.3 rewrite
Add ability to customise the menu to allowing hiding menu items not of interest

Version 1.3.5 - 11 Apr 2011
Add check duplicate ISBN option

Version 1.3.4 - 10 Apr 2011
Fix error dialog bug when try to cleanup opf files in own Calibre directory.

Version 1.3.3 - 09 Apr 2011
Support skinning of icons by putting them in a plugin name subfolder of local resources/images

Version 1.3.2 - 06 Apr 2011
Fix int is not iterable error when no matches found in check and update file sizes.

Version 1.3.1 - 05 Apr 2011
Fix bug in Check & fix file sizes from rewrite
Add check title case option

Version 1.3 - 03 Apr 2011
Rewritten for new plugin infrastructure in Calibre 0.7.53
Add check for EPUB with/without jacket
Add cleanup opf folders option to cleanup after save to disk/remove actions leaving orphaned files

Version 1.2 - 28 Mar 2011
Add check & fix file format size

Version 1.1 - 20 Mar 2011
Add check for no html in comments
Add check for authors with/without commas
Add check for titles with series

Version 1.0 - 13 Mar 2011
Initial release of Quality Check plugin
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1_Check_epub_structure.png
Views:	1327
Size:	36.5 KB
ID:	86383   Click image for larger version

Name:	Screenshot_2_Check_epub_style.png
Views:	1245
Size:	21.3 KB
ID:	86384   Click image for larger version

Name:	Screenshot_3_Check_mobi.png
Views:	1026
Size:	17.9 KB
ID:	86385   Click image for larger version

Name:	Screenshot_4_Check_metadata.png
Views:	910
Size:	25.9 KB
ID:	86386   Click image for larger version

Name:	Screenshot_5_Check_Missing.png
Views:	827
Size:	17.1 KB
ID:	86387   Click image for larger version

Name:	Screenshot_6_Fix.png
Views:	721
Size:	21.7 KB
ID:	86388   Click image for larger version

Name:	Screenshot_7_SearchScope.png
Views:	801
Size:	15.5 KB
ID:	86389   Click image for larger version

Name:	Screenshot_8_CoverSearch.png
Views:	808
Size:	19.2 KB
ID:	86390   Click image for larger version

Name:	Screenshot_9_ViewExcluded.png
Views:	738
Size:	22.6 KB
ID:	86391   Click image for larger version

Name:	Screenshot_10_AddExclude.png
Views:	665
Size:	16.1 KB
ID:	86392   Click image for larger version

Name:	Screenshot_11_Configuration.png
Views:	734
Size:	30.1 KB
ID:	86393   Click image for larger version

Name:	Screenshot_12_SearchEpub.png
Views:	1553
Size:	17.4 KB
ID:	86394  
Attached Files
File Type: zip Quality Check-qt5.zip (128.7 KB, 2416 views)

Last edited by kovidgoyal; 08-02-2014 at 11:24 AM. Reason: v1.9.11 Released
kiwidude is offline   Reply With Quote
Old 03-13-2011, 11:47 AM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,612
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Once again, you have done it

(FWIW I just gave it a run on my Ubuntu Maverick system)
theducks is offline   Reply With Quote
 
Enthusiast
Old 03-19-2011, 05:46 PM   #3
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.1 Released

I've added a few more checks to this plugin. Most of these replicate what you can do with saved searches, but I just found it convenient to include and saves the user the effort of creating them.

Additions to v1.1:
  • Find books with comments that have no HTML. Note that this is not the same as inverting the "comments with HTML" search results. This search finds books with no HTML at all be it style tags or paragraph/div tags added by Calibre when you save from the Edit Metadata dialog.
  • Find authors with commas in name (for people who use FN LN)
  • Find authors with no commas in name (for people who use LN, FN)
  • Find titles with possible series info (searches for hyphens or numeric values in the title).
All three of the latter searches can be customised within the search dialog so you may choose to make them more specific to how you require your authors/titles to be stored.
kiwidude is offline   Reply With Quote
Old 03-20-2011, 03:39 AM   #4
pchrist7
Addict
pchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animals
 
pchrist7's Avatar
 
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi
Another brilliant Tool !
Why not fix thinks before Catalog fails, etc.
Works fine so far here !
Actually found that 2 new Calibre Catalogs had Author_sort mismatch ;-D
(Author:calibre, Author_sort:date of creation in Danish format/language)
pchrist7 is offline   Reply With Quote
Old 03-20-2011, 04:32 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by pchrist7 View Post
Another brilliant Tool !
...

Quote:
Originally Posted by pchrist7 View Post
Why not fix thinks before Catalog fails, etc.

Actually found that 2 new Calibre Catalogs had Author_sort mismatch ;-D
I'm glad you found the Author_sort mismatch, but these mismatches don't mean your catalog will fail. I have a few dozen Author_sort mismatches and catalog creation works fine. I often enter the author_sort field with data that doesn't match the author field. This is a feature, not a bug and I use it often.
DoctorOhh is offline   Reply With Quote
Old 03-20-2011, 06:03 AM   #6
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by dwanthny View Post
I'm glad you found the Author_sort mismatch, but these mismatches don't mean your catalog will fail. I have a few dozen Author_sort mismatches and catalog creation works fine. I often enter the author_sort field with data that doesn't match the author field. This is a feature, not a bug and I use it often.
Catalog generation does fail for MOBI when author_sort mismatches are encountered, but not EPUB. MOBI generation is where the author_sort mismatch is potentially problematic.

G
GRiker is offline   Reply With Quote
Old 03-20-2011, 06:39 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by GRiker View Post
Catalog generation does fail for MOBI when author_sort mismatches are encountered, but not EPUB. MOBI generation is where the author_sort mismatch is potentially problematic.
Thanks for the clarification. If I ever get a Kindle I'll keep this in mind.
DoctorOhh is offline   Reply With Quote
Old 03-20-2011, 08:10 AM   #8
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,612
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by GRiker View Post
Catalog generation does fail for MOBI when author_sort mismatches are encountered, but not EPUB. MOBI generation is where the author_sort mismatch is potentially problematic.

G
How do you Not have a mis-match when the title is mistakenly treated as having an article and you have to correct it by hand?

Title sample: A is for Apple
(no quotes, anywhere)

Do other work-around's and you have look-up failures
BTW I have not recently tested to see if this triggers a fail

Last edited by theducks; 03-20-2011 at 08:12 AM. Reason: added BTW
theducks is offline   Reply With Quote
Old 03-20-2011, 08:29 AM   #9
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
Eh? The catalog generator only looks for author_sort mismatches on the same author (and only during MOBI generation). I'm not sure what failure you're referring to with title articles in reference to catalogs.

G
GRiker is offline   Reply With Quote
Old 03-20-2011, 08:35 AM   #10
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,612
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by GRiker View Post
Eh? The catalog generator only looks for author_sort mismatches on the same author (and only during MOBI generation). I'm not sure what failure you're referring to with title articles in reference to catalogs.

G
My bad,
The plugin (and the Red Title-sort box) indicated a mis-match and I thought all mis-matches caused problems.
theducks is offline   Reply With Quote
Old 03-27-2011, 09:55 AM   #11
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.2 Released

This adds a single new feature of "Check and fix book size". This will iterate through all of the book formats in your library and update where necessary the internal Calibre file size that is stored.

So if you make a habit of editing your books once they have been added to the library (such as editing an EPUB in Sigil), you can use this function to ensure your file sizes stored in Calibre are up to date without any re-adding of the book format to Calibre.
kiwidude is offline   Reply With Quote
Old 03-27-2011, 10:51 AM   #12
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 644
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD
Lovely-jubbly.
I asked about filesize-update to be incorporated into calibre ages ago.

Thanks.
Perkin is offline   Reply With Quote
Old 03-27-2011, 01:30 PM   #13
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,612
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Thumbs up Plugin respects filters

I had a filter in place when I ran a Covers quality check.
Those were the only ones that got checked.
A great time saver
theducks is offline   Reply With Quote
Old 03-27-2011, 03:42 PM   #14
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Indeed, sorry I should have mentioned on the first post that was the behaviour applied. Glad it was a nice surprise for you
kiwidude is offline   Reply With Quote
Old 03-27-2011, 04:44 PM   #15
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,612
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by kiwidude View Post
Indeed, sorry I should have mentioned on the first post that was the behaviour applied. Glad it was a nice surprise for you
Nothing to be sorry about. The PI did everything you said it would

Think of it as an 'Easter Egg' to be discovered
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Clipboard Search kiwidude Plugins 9 08-12-2014 03:36 AM
[GUI Plugin] Search the Internet kiwidude Plugins 205 08-11-2014 02:22 PM
[GUI Plugin] Kindle Collections (old) meme Plugins 2070 08-11-2014 12:02 AM
[GUI Plugin] Open With kiwidude Plugins 228 07-31-2014 01:06 AM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 05:30 AM.


MobileRead.com is a privately owned, operated and funded community.