Failing to parse source from this title

Any questions? Need some help?
Post Reply
Chas3down
Posts: 11
Joined: 20 Oct 2016, 04:39

Failing to parse source from this title

Post by Chas3down » 05 Jun 2019, 15:16

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?

User avatar
rednoah
The Source
Posts: 16803
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failing to parse source from this title

Post by rednoah » 05 Jun 2019, 15:55

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

Post Reply