2010-01-25, 05:50
nul7 Wrote:Another round of test builds on [url]I'll use kschreiber's setup as an example:
In this case, you could do the following:
Season Regex: ^(?<season>[0-9]+)\.[0-9]+\.
Retrieve From: File Name
Episode Regex: \.(?<episode>[0-9]+)\.
Retrieve From: Result
This will run the season regex against the file name and return a result of 01.01. with the first 01 being the season group. Then the episode regex will run off of that result and return the second 01.
The Season regex must contain a <season> group name and the Episode regex must contain an <episode> group name. The season regex runs first. "Retrieve From" is what the pattern is run against. So if you set the season "retrieve" to "Directory Name", it will try to find a match on the folder name... if you set it to "File Name", it will try to find a match on the file name. The episode "retrieve" is similar, except it also has the option to run on the result from the season regex.
Hope all that makes sense. If you have trouble figuring out a custom regex for your shows, just let me know.
I'm still not getting any results from the custom regex you provided. I loaded buil 1152 and tried it again. I cannot find any information in the log either about what is wrong.
I am using:
Season Match Regex:
^(?<season>[0-9]+)\.[0-9]+\. Retrieve from File
Episode Match Regex:
\.(?<episode>[0-9]+)\. Retrieve from Result
Can you help me resolve this or is there instructions on how to program a regex?
Thanks.