Ferkner / mediarenamer

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

Parsing of TV Name with <season><title2> Doesn't Work #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Scan episodes with 101 - Pilot
2.
3.

What is the expected output? What do you see instead?
I would expect the season to be parsed as 1 and the episode to be parsed as 
01, but instead, it just puts 0's in for the two fields. I have attached a 
screenshot.

What version of the product are you using? On what operating system?
2.0.3591.35926 on Windows 7 Professional 64bit

Please provide any additional information below.

Original issue reported on code.google.com by ryan.fla...@gmail.com on 19 Nov 2009 at 5:51

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I think after Line 50 in MediaRenamer/Series/Episodes.cs you need to add the 
following two lines.

@"(?<season>[0-9]{2})(?<episode>[0-9]{2}+)"
@"(?<season>[1-9]{1})(?<episode>[0-9]{2}+)"

The first one will search for 4 digit season\episode names, the 2nd will search 
for 3 
digit ones. IE

1101 - Episode Title
101 - Epidose Title

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