View Single Post
Old 07-29-2019, 04:56 PM   #4
yamusing
Enthusiast
yamusing began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jul 2019
Device: none
Quote:
Originally Posted by Adoby View Post
You are in luck! Calibre is the perfect tool for what you need.

1. Import with the full filename as the title.

2. Then use a couple of search and replace with regular expressions to populate other fields from the title. Authors, series and custom fields so on.

3. Do a final search and replace to remove everything from the title, except the title.

This is the normal process I use when adding books with descriptive AND uniform filenames to calibre.
I'm doing something similar to this, but with adding books using this regular expression "(?P<author>\[.*?\]) (?P<title>.+) (?P<publisher>(.*?)\(.*?\))".

using the bulk search and replace option to move everything from the "author" column to the "artist" column, and then the "publisher" to the "Thology" column.

When its done I removed the square and round brackets in both columns using character match, then remove all the metadata from the "author" and "publisher" column.


I wouldn't have to go through all this if the regular expession accepted custom columns, the "(?P<author>\[.*?\]) (?P<title>.+) (?P<publisher>(.*?)\(.*?\))" works to automatically add in metadata but the "(?P<artist>\[.*?\]) (?P<title>.+) (?P<thology>(.*?)\(.*?\))" returns an error.
yamusing is offline   Reply With Quote