I have been playing around with Plex Editions and I have found one way to add arbitrary info to the Edition field. For example:
Given the movie name "
Code: Select all
The.Hobbit.An.Unexpected.Journey.2012.Extended.Cut.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR
If I run this "
Format: Select all
\{ plex.id % { fn =~ /2160p/ ? fn =~ /(?i)remux/ ? '{edition-4k Remux}' : '{edition-4k}' : null } }
I will get this:
Code: Select all
\Movies\The Hobbit - An Unexpected Journey (2012) {tmdb-49051}\The Hobbit - An Unexpected Journey (2012){edition-4k Remux}.mkv
Format: Select all
\{ plex.id % { " {edition-${tags[0]}}" } }
I will get this:
Code: Select all
\Movies\The Hobbit - An Unexpected Journey (2012) {tmdb-49051}\The Hobbit - An Unexpected Journey (2012) {edition-Extended Cut}.mkv
Code: Select all
The Hobbit - An Unexpected Journey (2012) {edition-Extended Cut, 4k Remux}.mkv