Incorporating Plex's new "Editions" Feature
Posted: 29 Aug 2022, 02:30
So to use the new "Editions" feature you are supposed to trail the filename with the edition like this: ex: Extended =
Using an example file that I know is extended, I can get filebot to give me "{edition-[Extended, Extended Version]}"
that code is:
but trying to clean it up, to even get rid of the brackets is frustrating.
For example if I use: the whole tag disappears. This happens any time I've tried to modify the tag text, I've tried just for a jumping off point as well as a bunch of others and it does the same thing.
I've looked through the awesome examples others have posted that are WAY beyond my scope of understanding but I cannot figure this out. Can anyone help me so it will just spit out "{edition-"+the first tag+"}" ? Also, if there isn't a significant tag like Extended, Director's Cut, Special Edition, etc, I'd like to be able to have nothing there.
If I need to clarify, just ask and I will do my best.
Code: Select all
{edition-Extended}
that code is:
Code: Select all
{'{edition-'+tags+'}'}
For example if I use:
Code: Select all
{'{edition-'+tags.replaceAll(/[._]/, " ")+'}'}
Code: Select all
.replaceTrailingBrackets()
I've looked through the awesome examples others have posted that are WAY beyond my scope of understanding but I cannot figure this out. Can anyone help me so it will just spit out "{edition-"+the first tag+"}" ? Also, if there isn't a significant tag like Extended, Director's Cut, Special Edition, etc, I'd like to be able to have nothing there.
If I need to clarify, just ask and I will do my best.