Replacing slashes in name

All about user-defined episode / movie / file name format expressions
Post Reply
botuser
Posts: 15
Joined: 28 Jan 2019, 02:50

Replacing slashes in name

Post by botuser »

I am using the {plex.name} naming format for my Plex server.

However, in the case of a name with slashes such as below, I need a method to replace the slashes with hyphens so Filebot doesn't translate them into folders:
Image

Could someone provide the right syntax to try? Thanks!
User avatar
rednoah
The Source
Posts: 24010
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Replacing slashes in name

Post by rednoah »

You're not using {plex.name}. If you were using {plex} then you'd get S00E00 numbers, and slashes would be taken care of automatically as well.


:idea: If you think you are using {plex} then perhaps you have only configured {plex} for Movie Mode but not yet for Episode Mode.
:idea: Please read the FAQ and How to Request Help.
botuser
Posts: 15
Joined: 28 Jan 2019, 02:50

Re: Replacing slashes in name

Post by botuser »

Here's how it is configured - what should I do?

Image
User avatar
rednoah
The Source
Posts: 24010
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Replacing slashes in name

Post by rednoah »

Click "Use Format" at the bottom right.
:idea: Please read the FAQ and How to Request Help.
AbedlaPaille
Posts: 107
Joined: 12 Apr 2020, 04:02

Re: Replacing slashes in name

Post by AbedlaPaille »

Alternatively you can use

Code: Select all

t.slash('-')
Post Reply