|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
|
Adding books to the library
Hi,
I have been adding books to the library using the following reg exp to extract metadata from the file name. (?P<author>[^_]+)-(?P<series>[^_]+)-(?P<series_index>[^_]+)-(?P<title>[^_]+)-(?P<published>[^_]+)-(?P<tags>[^_]+) All works fine except the <tags>. Is it possible to get this to work? Thanks Phil |
|
|
|
|
|
#2 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,803
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
|
This example works fine except for the tag Thriller.
A.J. Carter-Novel-08-The Private Tutor-2024-Thriller.epub Thanks |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2025
Device: Calibre
|
|
|
|
|
|
|
#5 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
|
No never did figure it out.
Pity as I still have to do it manually.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,025
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The fact that there is no Test field for Tags suggests to me it's not doable.
Tags is a comma separated, multiple value field. BR. |
|
|
|
|
|
#7 |
|
Connoisseur
![]() Posts: 70
Karma: 10
Join Date: Nov 2010
Location: Niš, Srbija
Device: TCL Nxtpaper 11, Kindle PW 2024
|
|
|
|
|
|
|
#8 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
|
Thanks BR. Though as much but thought there might be a way to add a field
Crnirg: Will try that idea. Thanks Last edited by skil-phil; 06-22-2025 at 03:54 AM. |
|
|
|
|
|
#9 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You could use the GetFileName plugin then parse out the tags later using search & replace or action chains.
|
|
|
|
|
|
#10 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
|
Thanks. Will look at that.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding books from library A to library B | Koosr1946 | Library Management | 2 | 10-21-2024 02:32 PM |
| Adding Books to Library | MikeHackney | Calibre | 11 | 10-16-2015 11:47 AM |
| Adding books already in library directory but not library database | sfguy5874 | Library Management | 1 | 07-07-2012 05:33 AM |
| Adding new books to the library | robertsoakes | Development | 1 | 05-09-2012 02:01 PM |
| Duplicates ! and adding new books to library | anickson | Calibre | 4 | 10-11-2010 04:48 PM |