Page 1 of 1

Match on Date

Posted: 02 May 2016, 19:24
by dc21eb6a41
I have files that usually come out with a date format in them, however most of them are in the order of mm.dd.yy, filebot seems to want to parse them as a season (eg 05.12.15 comes out as S05E12)

Is there a way of forcing it to check on mm.dd.yy ?

Thanks!

Re: Match on Date

Posted: 02 May 2016, 19:48
by rednoah
Please provide the filename.

Re: Match on Date

Posted: 03 May 2016, 06:52
by dc21eb6a41
I can imagine that would be useful...

WWE.Raw.04.25.16.720p.HDTV.H264

Using TVMaze gets matched to S04E25

Re: Match on Date

Posted: 03 May 2016, 07:29
by rednoah
1.
I guess proper date patterns like DD.MM.YYYY or YYYY.MM.DD will work more reliably. I'm not inclined to support the MM.DD.YY pattern because it's way too ambiguous and may cause more harm than good.

2.
Just pre-process the files to fix the date pattern. You can make a Preset for that.

e.g. Generic File Format:

Code: Select all

{fn.replaceAll(/(\d+).(\d+).(\d+)/, '20$3.$1.$2')}
@see viewtopic.php?f=3&t=2072
@see viewtopic.php?f=3&t=3228