Search found 3 matches

by Azhrei
17 Jan 2020, 14:44
Forum: Episode / Movie Naming Scheme
Topic: Replace multiple characters?
Replies: 6
Views: 4997

Re: Replace multiple characters?

Thanks for the replies. I tried switching to {plex.tail.derive{ext == 'srt' ? '.en' : ''}} but it changed where the file was located so I ended up keeping the if command. On a similar topic, I changed my code to: {n.colon('꞉ ').asciiQuotes().replace('?', '')} - {s00e00} - {t.colon('꞉ ').asciiQuotes...
by Azhrei
16 Jan 2020, 00:01
Forum: Episode / Movie Naming Scheme
Topic: Replace multiple characters?
Replies: 6
Views: 4997

Re: Replace multiple characters?

rednoah wrote: 15 Jan 2020, 18:55 e.g.

Code: Select all

n.colon(' - ').slash(' - ')
I tried that, but for the show in particular I'm attempting, it's not working regardless of the character I select to replace the /

Fate/Grand Order: Zettai Maju Sensen Babylonia
https://www.imdb.com/title/tt9525238/
by Azhrei
15 Jan 2020, 16:30
Forum: Episode / Movie Naming Scheme
Topic: Replace multiple characters?
Replies: 6
Views: 4997

Replace multiple characters?

Here's my code currently: {n.colon('꞉ ')} - {s00e00} - {t.colon('꞉ ')}{if (ext == 'srt')'.en'} In addition to colons, I'd like to have slashes replaced with a separate particular character but from what I've read, can't figure out how to accomplish both. Is there a way I'm missing? Any help would be...