![]() |
#1 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Nov 2010
Location: Niš, Srbija
Device: TCL Nxtpaper 11, Kindle PW 2024
|
How use folder name lika field "series" ?
I apologize if it was somewhere on the forum - I tried to find it but I couldn't.
I have several books outside the Caliber library that are in the folder that represented the series and inside the folder a book in the following format: _01 SF BORIS\Boris D - Calypso.epub and now I would like to enter these books into the Caliber library, but when adding, use the folder name as the series and the rest normally as the author and name. I thought this would help ^(?P<series>.+?)\\(?P<author>[^_]+) - (?P<title>.+) but in the test it works ok however when adding books there is no series. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No the adding expression only reads metadata from the filename not the full path. You are best of writing a script to either rename the files before adding to calibre or using the calibredb command to add directly.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Nov 2010
Location: Niš, Srbija
Device: TCL Nxtpaper 11, Kindle PW 2024
|
#kovidgoyal
Thanks for the answer - although it's a bit tedious, I did it with Total Commander and its Batch rename option. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to wipe out "series" field from within my metadata source plugin | lrpirlet | Development | 2 | 12-30-2021 03:08 PM |
In Edit Metadata, both "Number" field and "Next" button have letter N underlined. | droopy | Library Management | 6 | 05-24-2020 03:46 AM |
Forma How do u deal with authors who are "Jr"? (Kobo ignores Calibre's "Author Sort" field) | droopy | Kobo Reader | 0 | 09-06-2019 05:51 PM |
Issue Editing MetaData in "Series" Field | slammerkin | Library Management | 4 | 12-09-2012 01:33 AM |
Blank field in "Browse for folder" | Roel | Library Management | 7 | 04-29-2012 10:13 AM |