Page 1 of 1

Failing to parse source from this title

Posted: 05 Jun 2019, 15:16
by Chas3down
Input -

Code: Select all

The.Nail.The.Story.of.Joey.Nardone.2009.INTERNAL.WEB.x264-ASSOCiATE.mkv
Output -

Code: Select all

The Nail (2009) - [-576p].mkv
Here is my format -

Code: Select all

{ny} - [{source}-{vf}]
However, filebot is not able to process WEB as a WEBDL source. Is there anything I can do to fix this?

Re: Failing to parse source from this title

Posted: 05 Jun 2019, 15:55
by rednoah
You can match any custom pattern like so:

Code: Select all

{fn.match('WEB')}
You'll probably want to try source, and if that doesn't yield a value, move on to your custom pattern:

Code: Select all

{any{source}{fn.match('WEB')}}
Since WEB isn't really a proper source, you can take the opportunity to replace WEB with WEB-DL or another value of your choice:

Code: Select all

{any{source}{fn.match('WEB': 'WEB-DL')}}