View Single Post
Old 03-08-2014, 06:03 AM   #1
larryvega
Junior Member
larryvega began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2014
Device: Samsung Galaxy S4 mini
Calibre Portable insists on using default regular expression for metadata info

Some background info:
I installed Calibre Portable to my Dropbox folder (and upgraded from version 1.25 at the same time). I did this so that my libraries on Dropbox can be in a subfolder to the Calibre installation folder (obviously I want my libraries on Dropbox). This is a requirement if Calibre Portable shall be able to open the most recently used library upon launching the program.

Now a problem has arised. One that I did not have before:

Calibre Portable absolutely insists on using the default regular expression "(?P<title>.+) - (?P<author>[^_]+)" when extracting metadata from the file name. I have some books where the title itself contains "-" and I just want the complete file name to be used as the title. Then afterwards I can specify author manually. However, that won't work anymore.
In version 1.25 (not located in Dropbox) I simply used the regular expression "(?P<title>.+)" which worked nicely and also works in the test field of version 1.26 and 1.27. But no matter if I have the option "Read metadata from file contents rather than file name" ticked or unticked and no matter what type of adding I choose, it applies the default expression and whatever is after "-" is used as the author. I have clicked "Apply" after changing the expression and if I open the window again it has not reverted to the default settings - everything is as when I clicked "Apply".

I can rename the files and replace the "-" with another symbol before adding them to the library, but I'd rather not have to go through this process.

Any ideas?

Cheers!
Larry
larryvega is offline   Reply With Quote