Page 1 of 1

Appending 3D to filename

Posted: 03 Feb 2018, 10:43
by hello342
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?

Re: Appending 3D to filename

Posted: 03 Feb 2018, 10:58
by rednoah
{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')}