|
|
Thread Tools | Search this Thread |
01-07-2013, 09:55 AM | #16 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
You're spot on with that statement.
Quote:
Also I never allow the metadata download process to alter the Author, Title or Series of a book, because I already put them the way I want them. Good Reading. |
|
01-07-2013, 03:07 PM | #17 | |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Non commercial 'technical' publications often have useful tags and comments in their metadata, but incorrect title & author, and the original filename is often just a reference number. I'm thinking of public domain documents from academia, governments, think tanks, supra-nationals such as UN, IMF, EU etc. There are no 3rd party metadata sources for these publications.
For many people the 'title & author(s)' are the primary identification for their documents - so existing collections will often have file-names with accurate title and author, whilst the embedded metadata will remain untouched because without Calibre there's no convenient way to even view it - let alone get it right. When I was initially loading Calibre with my existing collection of 'technical' publications I would have appreciated an option to take 'title & author(s)' from the file-name and the cover & other metadata from whatever was embedded in the document. I ended up adding books to a "New Books" library, taking all the metadata from the document, and then correcting the 'title & author(s)' before moving the books to the "Main" library. I still do this with all books - even real ebooks from Amazon, B&N etc. Quote:
What you're asking for is more often called "Capital Case". What Calibre's Capitalize option does is more often referred to as "Sentence Case". Other languages have different rules and conventions often maintained by government sponsored regulatory agencies - e.g. in French and German its probably defined by the Académie française and Rat für deutsche Rechtschreibung respectively BR |
|
Advert | |
|
01-08-2013, 05:04 AM | #18 | ||
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2013
Device: Kindle App on Android
|
Quote:
It is frustrating that I have the information in the file names but no way of importing them unless I forgo the rest of the metadata from the file. Quote:
The problem is everyone wants something different! Daz |
||
01-09-2013, 12:50 AM | #19 | |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Daz - I did suggest a possible way to do it
Quote:
If it works on a single book then it should be possible to write a script to execute the mobiunpack and ebook-meta commands on each book in your library to extract the metadata out of the mobi files and write it into the calibre database. As I read the from-opf option you should be able to select the metadata items you want - ie you wouldn't select the author and title. Sorry, I can't help with the scripting - that bit of my brain died years ago. Cheers BR |
|
01-09-2013, 11:44 AM | #20 |
Member
Posts: 18
Karma: 10
Join Date: Jan 2011
Device: Sony PRS350
|
Possible suggestion:
1. Create a Custom Column text field {disk_filename} 2. Add the books via the CLI calibredb add 3. Use the calibredb add -f #{disk_filename}:{filename} -- one at a time so will be slower 4. Use RegEx in the multiple edit to parse the custom {disk_namefield} to the Author, Title fields -- saving them for quick use next time. This would let you leave it on 'Read metadata from file' but allow you to quickly parse the custom field to adjust the title and author. I use custom tags like '_ADDED' (from Preferences:'Add Books' and Tweaks:'Control how tags are applied...'=True) on add books to quickly search for a subset of records that I need to process after adding new books/records. Or for command line changes to existing records set an custom yes/no updated (#ie #upd) flag to find the changed subset. Windows: update example FOR /F "SKIP=1 TOKENS=1,2 DELIMS=," %a in (UNPROCESSED.CSV) DO @ECHO. && @ECHO BOOK ID: %~a && ECHO ISBN : %~b && ECHO. && @IF EXIST E:\xRESULTS\%~b.opf (calibredb set_metadata --dont-notify-gui --with-library="E:\CALIBRE\WORK" -f #upd:yes %~a e:\xRESULTS\%~b.opf) %~b cuz my export adds double-quotes around the fields; %~ strips them Last edited by mdb5972; 01-09-2013 at 12:06 PM. |
Advert | |
|
06-22-2014, 06:20 AM | #21 |
Zealot
Posts: 105
Karma: 10
Join Date: Feb 2014
Device: none
|
Any fresh ideas on this issue about getting title and author from the file name and the rest of metadata (untouched) from the already existing file info?
This is exactly what i'm missing when trying to import a bunch of Epubs to calibre. |
07-10-2014, 02:57 AM | #22 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2014
Device: nook st gl
|
Quote:
Books were organized in folders by series name and series index. e.g.: "The Erevis Cale Trilogy 02 - Dawn of Night.prc" I could add books to calibre using "read metadata" but then I would lose all information about series (there were about 240 books in 70 series) So, i imported books in new calibre library using rexex: (?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ? Afterwards i converted all book to epub and deleted all prc formats. This left me with correct series indexes but without author. All books had correct metadata but wrong database entry. I could go and click "Set metadata from the selected format" but I would have to do it 240 times. I deleted entire library from calibre. That left files on disk with correct metadata stored in epub. Then I imported books using "read metadata from file". btw: bulk copy of metadata information to database would be very fine option. |
|
07-18-2014, 09:22 AM | #23 |
Connoisseur
Posts: 60
Karma: 2016606
Join Date: Apr 2012
Device: android tablets
|
Question for original poster. What is in the metadata that is important if the author and title are not correct?
Last edited by Inferno; 07-18-2014 at 09:24 AM. Reason: misread original |
10-05-2021, 10:40 AM | #24 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2021
Device: none
|
Same here
Quote:
I have thousands of books and they are sorted alphabetically by authors. In every authors folder there are subfolders with authors name-book title. When I import them they became a mess of incorrect metadata. I tried the option to import them ignoring metadata but then I'm missing covers. And I would like to have the original cover and not some randomly downloaded. There should be an option to get at least the cover separately from other metadata. I saw Kovid's replay that wrong author and title metadata automatically assume other metadata is incorect too-but it's not the case with covers. Covers should somehow be fixed to the book without the rest of the metadata. Sorry to see it's not the case. ((( |
|
10-05-2021, 09:56 PM | #25 | |
Connoisseur
Posts: 51
Karma: 10
Join Date: May 2014
Device: None
|
Quote:
The line: I could go and click "Set metadata from the selected format" but I would have to do it 240 times. is incorrect, you can do that in the bulk editor. Worst case create two new columns, with org_title and org_author and then mass replace title => org_title, then run the restore metadata command, then reverse the mass replace org_title => title. I use the org_author and org_title myself when I am pulling metadata from the internet because I sometimes accidentally select the wrong match in bulk downloads. Last edited by McStubb; 10-05-2021 at 10:00 PM. |
|
10-06-2021, 10:18 AM | #26 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
Click the Edit metadata button. Check the "Set from e-books option" Click OK Calibre will get any cover it finds designated in the file and set it as the cover for the book in the library. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex: File Renaming Pre-Import & Importing | penguinaka | Library Management | 20 | 08-14-2012 06:11 PM |
Import MetaData an Tags | adrian142 | Library Management | 0 | 04-03-2012 11:40 AM |
Import failed Error:404 when attempting to import from Calibre to Stanza | dvond | Apple Devices | 0 | 05-13-2011 03:00 PM |
Tags import problem | femto | Calibre | 10 | 04-22-2009 04:39 AM |
What is the default regular expression for filename import? | palex481 | Calibre | 2 | 03-22-2009 06:11 PM |