
Sorry for what is probably is a pretty newbie question, but I having a very hard time with the "Configure metadata from file name" function. I read through the tutorial, and I think I understand most of it, but nothing I try produces any even slightly good results. If someone could just tell me what my expression pattern should be, I'd be very grateful.
All my files are named in this format:
"author" - "series" "number in series" - "title"
or
"author" - "title"
depending on whether the book is part of a series or not. If both those can be combined into one expression, that would be awesome, but if not I can work with two different expressions. I couldn't get it to work either way.
One of the default options available
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?
seemed like it would work, at least for the books in series, but I had no luck with that one either.
Any help would be greatly appreciated!
Edit: Oh my God, apparently you're supposed to enter the file extension in the test field, and that's why my tests weren't working. I feel like an idiot :P
I'll jest test it out a bit more just to make sure I don't have any more problems with it.