Page 1 of 1

Keep actual episode title and actual show title using plex format

Posted: 28 May 2024, 12:59
by kolbdog32
Hi am just wondering when you use plex format is there a way you can keep the full episode title from tvdb/tmdb instead of it only showing the episode name since some have values such as ?,!, excetra in the episode title or actual title of show and episode. Thanks in advacne. Since i want to keep using the plex format but i also want to use the actual names on websites for the shows and episodes as well.

Re: Keep actual episode title and actual show title using plex format

Posted: 28 May 2024, 13:31
by rednoah
Yes. See Plex Naming Schemes › Advanced {plex} operators for details:
rednoah wrote: 12 Sep 2016, 10:03 unix ... {plex} path without file name validation (i.e. allow : colon and ? question mark in file paths)
e.g.

Format: Select all

{ plex.id.unix }

:idea: Even if your custom format generates Windows-invalid file paths, FileBot will still enforce Window-valid file paths on all platforms by default. But you can disable that. See Target Unix Filesystem for details.

Re: Keep actual episode title and actual show title using plex format

Posted: 28 May 2024, 13:44
by kolbdog32
That only works for tv show title not the eactual episode title i just tried it

Re: Keep actual episode title and actual show title using plex format

Posted: 28 May 2024, 13:53
by rednoah
kolbdog32 wrote: 28 May 2024, 13:44 That only works for tv show title not the eactual episode title i just tried it
:?: Which specific database / series / episode are you testing with?


:idea: Screenshots or Command & Console Output is always helpful. Please read How to Request Help.

Re: Keep actual episode title and actual show title using plex format

Posted: 28 May 2024, 14:01
by kolbdog32
It seems it only works for episodes that dont have (1)(2) in episode name but it does work for episodes that have !,?,' in the episode title. so it only works half way. since i tried it on Amazing Digital Circus - Candy Carrior Choaos! and it works for that but it doenst work for episodes with (1)(2) if its a two or 3 parter..

Re: Keep actual episode title and actual show title using plex format

Posted: 28 May 2024, 14:39
by kolbdog32
Never mind i figured it out if i do this

Code: Select all

{plex.unix % { " (" + t.match(/[(]([0-9]+)[)]/) + ")" } }
It's exactly like it is on either website the show and episode. So thanks I apprecate it.

Re: Keep actual episode title and actual show title using plex format

Posted: 28 May 2024, 15:12
by rednoah
{plex} does indeed also remove (1) (2) part numbers. This is unrelated removing ! ? / Window-invalid characters. {plex.unix} will only disable the latter. The former cannot be disabled, but you can - as you have already figured out - add custom information. See Add (1) (2) part numbers to the episode title for details. Alternatively, you can also build your own format without using {plex} if you need more control over all the bits and pieces.