[SNIPPET] The movie {tags} binding

All about user-defined episode / movie format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 20312
Joined: 16 Nov 2011, 08:59

[SNIPPET] The movie {tags} binding

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