Change colon into a hyphen.

Support for Windows users
Post Reply
Jonny0r
Posts: 2
Joined: 17 Aug 2021, 16:02

Change colon into a hyphen.

Post by Jonny0r »

Hello,

Short question, is it general possible if a Movie has Automatically a Colon inside the name to exchange this with a hyphen?

for example:

Movie: blablalbal (Colon can not be accepted by windows, you can press "Validate" and get "Movie blablalbal".

But is it not possible to get Automatically "Movie - blablalbal"

Thanks in advance,
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Change colon into a hyphen.

Post by rednoah »

Yes. You can adjust your custom format to do any kind of custom replacement as to generate valid file paths ahead of time.


e.g. from the built-in examples:

Code: Select all

{ n.colon(' - ') }

e.g. using the {plex} format is generally recommended, since it will take care of these things implicitly:

Code: Select all

{ plex }
:idea: Please read the FAQ and How to Request Help.
Jonny0r
Posts: 2
Joined: 17 Aug 2021, 16:02

Re: Change colon into a hyphen.

Post by Jonny0r »

Thank you for your support. :) It worked for me... :)
Post Reply