Page 1 of 1

Rename File Using Plex Standards {edition-}

Posted: 25 May 2024, 18:08
by DIDS
Hello,

I am looking to see if it is possible to use FileBot for renaming a file to Plex Standards. I am using the code:

{n.space(' ')} ({y}){' '+source}

Which outputs: 28 Weeks Later (2007) BluRay

However, I need it to produce the filename as: 28 Weeks Later (2007) {edition-BluRay}

Is this possible? When I try to add {edition- I get a Syntaxerror due to the { and }. I don't really know anything about programming or scripting so any help would be appreciated.


Thanks,

DIDS

Re: Rename File Using Plex Standards {edition-}

Posted: 26 May 2024, 08:43
by rednoah
Yes.


:arrow: Please read How do I organize files for Plex? and {plex} format and {edition} binding for details and copy & paste solutions:
rednoah wrote: 12 Sep 2016, 10:03 e.g. Avatar (2009) {tmdb-19995}/Avatar (2009) {edition-Extended Edition} [720p, x264, AAC]

Format: Select all

{ ~plex.id % { " {edition-$edition}" } % { " [$vf, $vc, $ac]" } }

:arrow: This will get you started:

Format: Select all

{ plex.id % { " {edition-$source}" } }

Re: Rename File Using Plex Standards {edition-}

Posted: 26 May 2024, 15:58
by DIDS
Thank you. This helped me format it the way I needed.


Thanks,

DIDS