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 01-20-2025, 05:24 AM   #1
skil-phil
Connoisseur
skil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animals
 
skil-phil's Avatar
 
Posts: 80
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
skil-phil is offline   Reply With Quote
Old 01-22-2025, 06:19 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,038
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by skil-phil View Post
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
You'll need to post some sample filenames so we can see what maybe going on.
JSWolf is offline   Reply With Quote
Old 01-23-2025, 01:05 AM   #3
skil-phil
Connoisseur
skil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animals
 
skil-phil's Avatar
 
Posts: 80
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
skil-phil is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding books from library A to library B Koosr1946 Library Management 2 10-21-2024 01:32 PM
Adding Books to Library MikeHackney Calibre 11 10-16-2015 10:47 AM
Adding books already in library directory but not library database sfguy5874 Library Management 1 07-07-2012 04:33 AM
Adding new books to the library robertsoakes Development 1 05-09-2012 01:01 PM
Duplicates ! and adding new books to library anickson Calibre 4 10-11-2010 03:48 PM


All times are GMT -4. The time now is 07:43 AM.


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