|
|
#1 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-600
|
Simple process to import books without use of metadata
Dear All,
I hope this is not to stupid a question. I'm new to calibre, and am having problems importing books in it. I have been looking in the forum, and on internet, but am not able to find anything on this. In the past I used an android app moon+ reader, which worked well for me. I renamed all books I have, numbered their titles relative to release date, and put them in a folder with the authors name. So finding something was easy, and logical with regard to hierarchie. I now have an epaper reader, which works a bit differently, so was looking into using calibre. Whatever I do though, it always imports and orders the books according to metadata in the files, of from the internet. It does not add from filename/folder. This is really annoying, since even books from the same series aquired over the years suddenly have completely different titles, etc.. I can change it using the edit metadata option, but then I have to go over more then 900 books 1 by 1. -Is there a way to just simply import books by title, and ignoring every piece of metadata? I can then use tags to combine them into collections easily accessible instead of having to edit metadata 1 by 1. I've searched the forum, but am thinking that this might not be possible, and if I would want to use calibre, to have edit all my books metadata 1 by 1 :-( But maybe there's a simpler way that I'm currently overlooking. Thanks for any insight. Best regards, |
|
|
|
|
|
#2 |
|
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,457
Karma: 318076944
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
calibre/Preferences/Adding books
Uncheck "Read metadata from file contents rather than file name" Work out what regular expression you'll need to extract book title, author name, series name and series number from your book file names, and enter that in the Regular Expression field. If you're unfamiliar with regular expressions, give an example of your book files names, and someone will probably help with the magic incantation needed. |
|
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-600
|
Hi pdurrant,
Thanks very much for this one. I'm gonna have a look into it, als the regular expressions you mention. I'd 1st like to try finding out myself before asking, as that's half the fun. Best regards, |
|
|
|
|
|
#4 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,466
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Quote:
Called Mastering Regular Expressions from O'Reilly publisher. Nowadays an AI - I have good experiences with ChatGPT and Aistudio from Google - can craft an AI for you and even explain how it works. Just give them info that Calibre uses Python dialect of the Regular Expression Language. When I was importing lots of books that required RIs to process the filename I used a plugin that let me quickly select the RI suitable for that particular bunch of imports. That was long before the rise of our AI overlords, but I have been using Regular Expressions for quite a long time for various things. https://www.mobileread.com/forums/sh...d.php?t=118776 |
|
|
|
|
|
|
#5 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,703
Karma: 79983758
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
You also might like to look at the GetFileName plugin (only applicable to books added after installing it).
This will store the info about the original location of a file when it is added to calibre. |
|
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-600
|
@kacir
-There is a book for that Yeah, found it, but that one goes way over my head. I'm currently trying using the "adding books" option under preferences. Also tried using regex101.com, but some of the things I tried and worked, did not work properly in calibre, so stopped using that one. @PeterT -look at the GetFileName plugin Thanks for the suggestion, will have a look to see if it helps. For me the most important part is to get it in the hierarchial order I'm using now in a very simple manner like Author, Series, ID in series, and title. I don't need all the other metadata for now. I will probably start using the tag option to combine certain books, but thats for later. I've been testing here, but already have some issue. Under "Adding Books, there's a "series_index". I was hoping to be able to use that for index in the series and thus determine its listing order. When using it though, adding e.g. "10" for it, it lists it as 10.0. Additionally, there's no column with that name under "Add you own columns" to activate as viewed column in the booklisting. Trying to add it as an own column, calibre tells me the word index in a custom column can't be used because its reserved for series. So I thought of being a smart ass, and made another column "series_order" as integers, but that doesn't pick it up. The added column in the booklisting stays empty when adding a book. Example bookname: 11 - Een Kuil Voor Een Ander - Baantjer, A.C. - Baantjer en de Waal.epub (?P<series_index>.+) - (?P<title>.+) - (?P<author>.+) - (?P<series>.+) Shows a number with floating point, this case 11.0 (?P<series_order>.+) - (?P<title>.+) - (?P<author>.+) - (?P<series>.+) Does not pickup the number 11 to be used in the custom Series ID column |
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-600
|
Dear All,
Is there someone that can help me with this one. Been trying many things using regular expressions, but seem to not be able to grasp it to get it working. All I want is using the book title, and extract from it 4 items. -Series index -Title -Author -Series Tried below expressions, but can't get it to work. Only when I leave the index in the booktitle part will it of course use alphabetical order, but that's not what I'd prefer. Example bookname: 11 - Een Kuil Voor Een Ander - Baantjer, A.C. - Baantjer en de Waal.epub (?P<series_index>.+) - (?P<title>.+) - (?P<author>.+) - (?P<series>.+) Shows a number with floating point, this case 11.0 (?P<series_order>.+) - (?P<title>.+) - (?P<author>.+) - (?P<series>.+) Does not pickup the number 11 to be used in the custom Series ID column Thanks for any hints or tips. Best regards, |
|
|
|
|
|
#8 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,270
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You can not have a naked series_index
You MUST have a Series to have the series-index |
|
|
|
|
|
#9 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-600
|
Thanks for reply.
I though I had that when I tried "(?P<series_index>.+) - (?P<title>.+) - (?P<author>.+) - (?P<series>.+)". It interpreted the series-index though as a floating point number. So for the exampl book "11 - Een Kuil Voor Een Ander - Baantjer, A.C. - Baantjer en de Waal.epub", it interpreted it as 11.0. Additionally, the series_index was not available as a column in the book listing. -Am I interpreting calibres help information completely wrong here then? I thought series, and series_index would be 2 columns. -Can you give an example please using my information, or maybe I need to rename the ebook titles differently? Best regards, |
|
|
|
|
|
#10 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,466
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Quote:
Quote:
It is a nice thing to have a series order a float not an integer. Try it in Calibre. It will display it as "series [series index] in a default column called series. The individual series index field is for you when you write a template for filename for writing books to the disk, for example. |
||
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Import books from folder structure and extract metadata automatically | Pquemis | Library Management | 1 | 09-25-2025 06:47 PM |
| One-Click Metadata Import for Books? | Blaineoreski | Library Management | 3 | 07-07-2021 12:00 PM |
| Updating Books/Metadata on Import | craig.trader | Library Management | 3 | 01-02-2017 10:04 AM |
| Massive import batch process | bazu | Calibre | 2 | 08-07-2010 01:46 AM |
| Mass import of books metadata from an ASCII file: HELP NEEDED | LARdT | Calibre | 4 | 07-08-2010 05:05 PM |