I got exactly the same problem with double episodes because of sample files/dirs.
For example this type of filename is failing.
I get a match on both the .mkv sample file and the .rar file. I use MPTV v2.6.6.1275 with default regex settings.
I got exactly the same problem with double episodes because of sample files/dirs.
For example this type of filename is failing.
I get a match on both the .mkv sample file and the .rar file. I use MPTV v2.6.6.1275 with default regex settings.
If all your files are in a subfolder to your import path then you can use a temporary fix, and that is to edit the expression by changing "\\?" into "\\", so that the expression will always look for the last folder. This will solve your problems for the time being, but will not be the final solution, so keep an eye on the expression exchange thread for the new default once I figure out a solution that works for root import path files as well.
All fixed, please use the new default expression as per: https://forum.team-mediaportal.com/701043-post25.html
It should make its way into the new build soon, but unless you install fresh or 'Reset' the expressions, you will have to manually update.
T:\Family Guy\Season 04\Family.Guy.S04E03.DVDRip.XviD-SAPHiRE\Sample\sph-fguy403-sample.avi
T:\Family Guy\Season 01\Family.Guy.S01E01.INTERNAL.DVDRip.XviD-SChiZO\Sample\familyguy-s01e01-sample-schizo.avi
I'm getting kinda frustrated now, so I'd love anyones oppinion here.
^(?:.*\\)?(?<series>[^\\]+?)[ _.\-\[]+(?:[s]?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>(?!(?:\d{4}.\d{2}.\d{2}|\d{2}.\d{2}.\d{4}))\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:[s]?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?!(?:[^\\].*?)?(?<!the)[ .(-]?sample[ .)-]).*?)\.(?<ext>[^.]*)$
I'm getting kinda frustrated now, so I'd love anyones oppinion here.
Try:
Code:^(?:.*\\)?(?<series>[^\\]+?)[ _.\-\[]+(?:[s]?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>(?!(?:\d{4}.\d{2}.\d{2}|\d{2}.\d{2}.\d{4}))\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:[s]?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?!(?:[^\\].*?)?(?<!the)[ .(-]?sample[ .)-]).*?)\.(?<ext>[^.]*)$
It is a serious modification to the sample detection system, and I did not get around to do mass testing on existing filenames.
So try it out please.