Appending 3D to filename

Any questions? Need some help?
Post Reply
hello342
Posts: 1
Joined: 03 Feb 2018, 10:39

Appending 3D to filename

Post by hello342 » 03 Feb 2018, 10:43

Hi

I previously grabbed a 3D release and adjusted my format to accommodate it but then I downloaded this file:

Code: Select all

Blade.Runner.2049.2017.1080p.3D.BluRay.Half-SBS.x264.TrueHD.7.1.Atmos-FGT.mkv
and the resulting output is this:
Blade Runner 2049 [2017][1080p3D.BluRay][3D]

My format is this:

Code: Select all

movieFormat={n} [{y}][{vf}{source}]{fn =~ /3D/ ? '[3D]' : ''}/{n} [{y}][{vf}{source}]{fn =~ /3D/ ? '[3D]' : ''}
Any idea why the 3D is still inserting itself?

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

Re: Appending 3D to filename

Post by rednoah » 03 Feb 2018, 10:58

{source} has the value 3D.BluRay and not just BluRay as you might expect.


Here's a list of source patterns that identify 3D BluRay disks:

Code: Select all

3D.BluRay|3DBluRay|3DBD

You could do something like this to remove the 3D marker from the {source} value:

Code: Select all

{source.space('').after('3D')}
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests