Plex Series Format Fixer is an application designed to traverse a specified folder and automatically format episode/season names according to predefined patterns. The app searches for naming patterns specified in a patterns.json file (which you can edit) and replaces them with a standardized format: SXXEXX.
- Download the latest release targeting your platform.
- (Optional) Edit the
patterns.jsonfile if the ep/season pattern you are trying to target is not included. - Copy the path to the folder holding your episodes.
- Run the application and follow the prompts.
| Pattern | Description | Example Input | Output |
|---|---|---|---|
S(?<season>\d+)-(?<episode>\d+) |
Matches "S01-02" | S01-02 |
S01E02 |
S(?<season>\d+)[._]E(?<episode>\d+) |
Matches "S01.E02" or "S01_E02" | S01.E02 |
S01E02 |
Season (?<season>\d+) Episode (?<episode>\d+) |
Matches "Season 1 Episode 2" | Season 1 Episode 2 |
S01E02 |
S(?<season>\d+)E(?<episode>\d+) |
Matches "S1E2" | S1E2 |
S01E02 |
S(?<season>\d+)\s-\sE(?<episode>\d+) |
Matches "S1 - E02" | S1 - E02 |
S01E02 |
S(?<season>\d+)\s-\s(?<episode>\d+) |
Matches "S1 - 02" | S1 - 02 |
S01E02 |
S(?<season>\d+)\sE(?<episode>\d+) |
Matches "S01 E02" | S01 E02 |
S01E02 |
E(?<episode>\d+)[._]S(?<season>\d+) |
Matches "E02.S01" or "E02_S01" | E02.S01 |
S01E02 |
Episode (?<episode>\d+) Season (?<season>\d+) |
Matches "Episode 2 Season 1" | Episode 2 Season 1 |
S01E02 |
E(?<episode>\d+)S(?<season>\d+) |
Matches "E2S1" | E2S1 |
S01E02 |
E(?<episode>\d+)\s-\sS(?<season>\d+) |
Matches "E2 - S1" | E2 - S1 |
S01E02 |
(?<episode>\d+)\s-\sS(?<season>\d+) |
Matches "2 - S1" | 2 - S1 |
S01E02 |
E(?<episode>\d+)\sS(?<season>\d+) |
Matches "E2 S1" | E2 S1 |
S01E02 |
If you think there is a common pattern that I haven't included, please submit an issue and I'll do my best to add it.
Simply open the patterns.json file and add the Regex pattern you want to include. Something like ChatGPT can be useful in generating those.
- You have a file named
Series Name Season 1 Episode 1.mkv - You need to replace
Season 1 Episode 1withS01E01(The app already includes this but this is simply an example) - Find out the regex for the pattern In this case it's
Season (?<season>\d+) Episode (?<episode>\d+) - Append that regex to the property called
patternsinpatterns.json - Run the app.