Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-04-2017, 06:02 PM   #1
Phoenix84
Junior Member
Phoenix84 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2017
Device: MoonReader Android
Suggestion: Detect similar filenames with only differing extensions as a single book

When adding books, I'd like an additional option:
Add Multiple books in a single directory, combine similar filenames into single book

What this would do is, given a flat directory with multiple books in various formats, is automatically consolidate duplicates in different formats, but still add multiple books for the non-duplicates.

Here's a use case where I hit this need:
Humble Book Bundles.
When I download my books from Humble, for simplicity, I just download all the book formats into the same directory.

This leaves me with a file structure like this:

book1.pdf
book1.mobi
book1.epub
book2.pdf
book2.mobi
book2.epub
book3.pdf
book3.mobi
book3.epub


I'd like all 9 of those books imported and consolidated into 3 books, each with 3 formats.
I've tried the import with duplicate detection, and it doesn't match all the duplicates correctly.

I'd prefer a simpler option that just said "if the base part of the filename is identical, assume all extensions match the same book" and import as such.
Phoenix84 is offline   Reply With Quote
Old 09-04-2017, 06:34 PM   #2
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
MFI

This already does that:

https://www.mobileread.com/forums/sh...d.php?t=277104
DaltonST is offline   Reply With Quote
Advert
Old 09-04-2017, 07:17 PM   #3
Phoenix84
Junior Member
Phoenix84 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2017
Device: MoonReader Android
Quote:
Originally Posted by DaltonST View Post
Thanks, I'll check that out.
I would never have seen that before, since I have no interesting in storing other media formats in Calibre.


EDIT: Hmm, does that let Calibre still grab the metadata? Calibre does a pretty good job, regardless of the actual filename.

Last edited by Phoenix84; 09-04-2017 at 07:21 PM.
Phoenix84 is offline   Reply With Quote
Old 09-04-2017, 08:35 PM   #4
theducks
Well trained by Cats
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: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
It only 'grabs' once.
Behavior is controlled by Preferences:Adding books: Reading Metadata (tab)
theducks is offline   Reply With Quote
Old 09-05-2017, 10:56 AM   #5
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Quote:
Originally Posted by Phoenix84 View Post
EDIT: Hmm, does that let Calibre still grab the metadata? Calibre does a pretty good job, regardless of the actual filename.
See the attached image. If you decide the "wrong" format was used to set the metadata, or for any other reason, the displayed icon function in the upper right corner of Edit Metadata will reset/reload/grab the metadata from your desired format.

I always run the "Modify Epub" plug-in with almost all of the checkboxes "checked" to fix the epub file and then to write my "final" metadata values, plus the proper jacket and cover image, back to the epub format. Obviously, you should not do this step until you have reset the metadata from your desired format (as displayed in the image).


DaltonST
Attached Thumbnails
Click image for larger version

Name:	mfi_set_metadata_from_selected_format.jpg
Views:	66
Size:	433.4 KB
ID:	158857  
DaltonST is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
edit book - how to set hotkey or similar ? cybmole Editor 1 12-14-2013 03:17 PM
Problems with driver of e-book reader similar to N516 (VE200) Ignium More E-Book Readers 0 02-15-2011 10:38 PM
Covers known to work with differing ereader models Waba Deals and Resources (No Self-Promotion or Affiliate Links) 4 10-31-2010 01:27 PM
Filenames to metadata, preserving filenames. nitrogun Calibre 5 09-13-2010 10:50 PM
Same book name, different extensions Ununoctien Bookeen 3 12-13-2007 07:19 AM


All times are GMT -4. The time now is 03:27 PM.


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