mwheelerjr / mptvseries

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

Default filename expression to solve root problem and 'samples' inside subfolder #542

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
^(?:.*\\)?(?<series>[^\\]+?)[ _.\-\[]+(?:[s]?(?<season>\d+)[ 
_.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ 
_.+-]+(?:[s]?\k<season>[ 
_.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ 
_.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\].*?(?<!the)[ 
.(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$

Solves: "Foo.S01E01.Bar\Foo.S01E02.Bar.avi" was seen as S01E01, this also 
caused 'Samples' to be picked up.

Original issue reported on code.google.com by RoChess....@gmail.com on 1 Mar 2011 at 8:49

GoogleCodeExporter commented 9 years ago
so this should replace the first default one?

Original comment by damien.haynes@gmail.com on 1 Mar 2011 at 8:54

GoogleCodeExporter commented 9 years ago
yes :)

Original comment by RoChess....@gmail.com on 1 Mar 2011 at 8:56

GoogleCodeExporter commented 9 years ago
Fixed in r1399

Original comment by damien.haynes@gmail.com on 1 Mar 2011 at 10:50