[DOCS] The movie {tags} and movie {edition} bindings

All about user-defined episode / movie / file name format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[DOCS] The movie {tags} and movie {edition} bindings

Post by rednoah »

  • The {tags} binding allows you to match predefined patterns from the file name.
  • The {edition} binding will additionally check for and prefer preexisting {edition-XYZ} patterns.


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

Format: Select all

{ tags }

Code: Select all

[Directors Cut, Remastered, Unrated]


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

Format: Select all

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

Code: Select all

DIRECTORS CUT-REMASTERED-UNRATED


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

Format: Select all

{ edition }

Code: Select all

[Directors Cut]


e.g. {tags} as Plex / Multiple Editions tag:

Format: Select all

{ "{edition-${tags[0]}}" }

Code: Select all

{edition-Directors Cut}


e.g. {edition} as Plex / Multiple Editions tag:

Format: Select all

{ "{edition-$edition}" }

Code: Select all

{edition-Directors Cut}


{tags} and {edition}match the following patterns:

regex: Select all

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


:idea: {tags} and {edition} are filename-based bindings.



: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