Quote:
Originally Posted by CalRCH
I have a bundle of books which I wish to add to my library. I understand the Add function can be configured by suitable regular expressions, but my attempts do not seem to work.
My books are largely stored in directories/folders ...
author/title.xyz
author/author - title.xyz
author/title - author.xyx
author/title by author.xyz
author/series/title.xyz
and so on.
The Add configuration section allows entry of a set of regular expressions.
Am I correct in assuming they are tried in succession? What happens if none are satisfied?
|
Incorrect, as is written on the tin:
Quote:
Set a regular expression pattern to use when trying to guess e-book metadata from filenames.
|
In general, calibre instructions and tooltips are pedantic in their precision - as they should be.
The drop down list is "filename_pattern_history" in gui,json you can remove items from here, the current pattern is "filename_pattern": in global.py.json, I'd leave that one alone.
If you edit files in calibre's configuration folder, do it when calibre is NOT running, and take a copy of the file before you change it.
You can discover the location of calibre's configuration folder by clicking the relevant button in Preferences_>Miscellaneous.
BR