Match on Date

Support for Ubuntu and other Desktop Linux distributions
Post Reply
dc21eb6a41
Posts: 2
Joined: 02 May 2016, 19:20

Match on Date

Post 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!
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Match on Date

Post by rednoah »

Please provide the filename.
:idea: Please read the FAQ and How to Request Help.
dc21eb6a41
Posts: 2
Joined: 02 May 2016, 19:20

Re: Match on Date

Post by dc21eb6a41 »

I can imagine that would be useful...

WWE.Raw.04.25.16.720p.HDTV.H264

Using TVMaze gets matched to S04E25
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Match on Date

Post 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
:idea: Please read the FAQ and How to Request Help.
Post Reply