Rename File Using Plex Standards {edition-}

All about user-defined episode / movie / file name format expressions
Post Reply
DIDS
Posts: 2
Joined: 25 May 2024, 17:45

Rename File Using Plex Standards {edition-}

Post 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
User avatar
rednoah
The Source
Posts: 23142
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename File Using Plex Standards {edition-}

Post 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}" } }
:idea: Please read the FAQ and How to Request Help.
DIDS
Posts: 2
Joined: 25 May 2024, 17:45

Re: Rename File Using Plex Standards {edition-}

Post by DIDS »

Thank you. This helped me format it the way I needed.


Thanks,

DIDS
Post Reply