View Single Post
Old 12-16-2015, 01:06 AM   #3
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
1st - Preferences/Adding Books/The Add Process tab - uncheck the first box "Read metadata from file contents rather than the file name"

2nd - same place - at the bottom there is a test area where you can type a file name as above and play with the Regular Expression field to get what you want.
There are some pull down pre-made templates. This one: (?P<title>.+) will do exactly what you want as above. Note, however, it does NOT yield an author. That yields Unknown.

I just played with the expression: (?P<author>[^_-]+) -?\s*(?P<title>[^_].+) ?

It will give an author name and what you want IF your file names are set up such as:

Author Name - Space Opera 01 - An adventure.
jecilop is offline   Reply With Quote