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 11-29-2012, 05:20 PM   #1
Krogagre
Junior Member
Krogagre began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2012
Device: android
Batch update of a library

I have been collecting ebooks for quite some time in Calibre and decided to do some house cleaning, The total library contains a few thousand books and a lot of the books have bad titles and/or authors. In order to be able to consolidate I thought about doing a plugin or use the command interface with the following functionality

For each book
Check if author is known
Check if title is known and for author
If ok exit

If unique match on title, replace author and exit

Check if author is a title and title is an author
If so swap and exit

Check if title contain separation marks (-)
If so check for author match, title match and place acordingly (including excess in series) and exit

Use extract ISBN
If ok extract metadata, update and exit

This would probably clear out a lot of mess, but is a plugin the right approach and is this feasible??
Krogagre is offline   Reply With Quote
Old 11-29-2012, 05:42 PM   #2
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,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Welcome to MobileRead.

To be honest for "only" a couple of thousand books I would suggest you just crack on and sort it out manually. You can use the Quality Check plugin to do some of those checks. The biggest problem you will have with trying to write something like this in a plugin is "if author is known" for instance - "known" according to who/what? Some website? Which may or may not be incomplete even if you could find something which had a massive list of authors on it, that presumably you are scraping data for. Which may or may not match due to all the subtle variations that can happen with author names, hyphenations, aliases etc.

In my opinion it is a non-starter as a plugin. Sorting out titles and authors for a few thousand books using a combination of extract ISBN, Quality Check and visual eyeballing will take a tiny fraction of the time that attempting to write a plugin for it would take, even if you could figure out a solution to the not inconsiderable other issues
kiwidude is online now   Reply With Quote
Advert
Old 11-30-2012, 09:19 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Question to the OP... These eBooks with bad title and/or bad authors, are they legal eBooks?
JSWolf 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
Software to batch update PDF metadata/ substitute software for Sony eBook library ksri99 Sony Reader 6 05-20-2012 01:53 PM
Update from O.8.7 to 0.8.8, library now corrupt? Arainais Calibre 5 07-20-2011 11:20 AM
Update to Sony Library - am I crazy? cozworth Sony Reader 2 09-02-2010 04:03 PM
Firmware-update switch tool (batch files) T_Frain_K Bookeen 3 01-19-2010 06:21 AM
Searching for a way to batch-update PDFs metadata Pulp PDF 2 01-13-2009 06:40 AM


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


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