Page 1 of 1

Add (1) (2) part numbers to the episode title

Posted: 12 Sep 2023, 03:56
by rednoah
The {plex} format automatically removes (1) (2) (1/2) part numbers from the end of the episode title. If you want to keep the (1) (2) part numbers then you can either inject them into {plex} or just use {t} in your own custom format.


e.g. Stargate SG-1 - S01E01 - Children of the Gods (1)

Format: Select all

{n} - {s00e00} - {t}

e.g. Stargate SG-1 - S01E01 - Children of the Gods (1)

Format: Select all

{ plex.id % { " (" + t.match(/[(]([0-9]+)[)]/) + ")" } }

e.g. Stargate SG-1 - S01E01 - Children of the Gods, Part 1

Format: Select all

{ plex.id % { ", Part " + t.match(/[(]([0-9]+)[)]/) } }