TV Episodes naming pattern & sort order

Advanced Renamer forum
#1 : 08/01-19 19:39
Bob
Bob
Posts: 2
Anyone know how to format this regex so it catches multi-episodes as well?

S\d\dE\d\d\. this catches single eps just fine:

1) Stargate.SG-1.S01E03.720p.HDTV.x264-SFM works
2) Stargate.SG-1.S01E01E02.720p.HDTV.x264-SFM does no work

Ideal would be an expression that catches e.g. S01E01E02E03 and so forth.

I use this to inject the episode title into the above filename with <TVShow EpisodeTitle>.

1) Stargate.SG-1.S01E03.The.Enemy.Within.720p.HDTV.X264-SFM works
2) Children.Of.The.Gods.Stargate.SG-1.S01E01E02.720p.HDTV.X264-SFM does not work

Also, cant I chose TVDB as a data provider instead of TVMaze? Much more importantly though, where can I chose the order of the data supplied? Meaning e.g. By Airdate or DVD/BluRay Date....




08/01-19 19:39
#2 : 12/01-19 16:31
L B
L B
Posts: 74
Reply to #1:
If your goal is to enter multiple episode titles in the same file name, it won't work regardless of modifying the regex, because the TV Info Import tool does not work on the basis of Episode numbers. It just linearly enters the selected parameter in the file names.

For example, if your file list is:
S01E01
S01E02E03
S01E04

and you use the Import tool to populate Episode Titles, then the titles will be populated as

S01E01.Episode-1
S01E02E03.Episode-2
S01E04.Episode-3

Anyways, you can modify the regex as follows (I am a noob so there might be better solutions out there):

(S\d\d)((E\d\d)+)

This *should* catch multi-episode files.


12/01-19 16:31 - edited 12/01-19 17:29
#3 : 14/01-19 17:33
Bob
Bob
Posts: 2
Reply to #2:
thanks mate. figured out to just leave the multipart eps off for now and match everything before/after. that works ok.


14/01-19 17:33