Ferkner / mediarenamer

Automatically exported from code.google.com/p/mediarenamer
0 stars 0 forks source link

Fails to Recognize two digit seasons when ran together with episode numbers. #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Scan an episode with a name like "seriesname.912.whatever"
2. Scan an episode with a name like "seriesname.1012.whatever"
3. Step one is recognized properly. Step two is not.

What is the expected output? What do you see instead?
Both names be recognized. Only the first one is recognized.

What version of the product are you using? On what operating system?
Windows 7 Build 7100

Please provide any additional information below.
I'm glad it recognizes the first type. Here's hoping the second is 
possible too!

Original issue reported on code.google.com by adae...@gmail.com on 19 Jul 2009 at 3:58

GoogleCodeExporter commented 8 years ago
Looks like this RegEx needs added to the code.

([^a-zA-Z0-9]+)(?<season>[0-9]{2})(?<episode>[0-9]{2})([^a-zA-Z0-9]+)

Original comment by ryan.fla...@gmail.com on 11 Dec 2009 at 9:28