Page 1 of 1

[SNIPPET] The movie {tags} binding

Posted: 22 Jun 2021, 05:54
by rednoah
The {tags} binding allows you to match predefined patterns from the file name.


e.g. {tags} binding as List value:

Code: Select all

{tags}

Code: Select all

[Directors Cut, Remastered, Unrated]

e.g. {tags} binding as String value:

Code: Select all

{ tags.join('-').upper() }

Code: Select all

DIRECTORS CUT-REMASTERED-UNRATED



{tags} matches the following patterns:

Code: Select all

(?:Special.|Extended.|Ultimate.)?(?:Director.?s|Collector.?s|Theatrical|Ultimate|Final|Extended|Rogue|Special|Diamond|Despecialized|R.Rated|(?:(?:1st|2nd|3rd|[4-9]th).)?Anniversary).(?:Cut|Edition|Version)|Extended|Remastered|Recut|Uncut|Uncensored|Unrated|IMAX

:arrow: Please read Match information from the file path if you want to match custom patterns from the file name.