Struggling to achieve desired format for 3D movies
Posted: 08 Apr 2018, 12:12
Hello.
My current movie script is so far very simple:
I am currently looking for a versatile solution for 3D movies, ideally, based off of the s3d tag as that supposedly captures pretty much every combination of 3D types ever written into a filename.
Ideally, upon detecting the file is 3D, I would like the script to fill out the filename as follows:
For example: Movies/The Lego Movie (2014)/The Lego Movie [3D] [H-SBS] [BluRay.1080p.x265.6ch.AAC]
However with the 3D format accounting for all possible varieties, and unifying to a X-XXX format (HSBS -> H-SBS, HOU -> H-OU e.t.c.) where applicable.
This level of regex is beyond me however
My current movie script is so far very simple:
Code: Select all
Movies/{n} ({y})/{n} {[allOf{source}{vf}{vc}{af}{ac}.join('.')]}
Ideally, upon detecting the file is 3D, I would like the script to fill out the filename as follows:
Code: Select all
{n} [3D] [3D format] {[allOf{source}{vf}{vc}{af}{ac}.join('.')]}
However with the 3D format accounting for all possible varieties, and unifying to a X-XXX format (HSBS -> H-SBS, HOU -> H-OU e.t.c.) where applicable.
This level of regex is beyond me however
