Page 1 of 1

Syntax for using the List tab on multi-episode files

Posted: 03 Sep 2018, 17:32
by kooliokevin
I have several shows where multi-episode file matching simply does not work when trying to match with any of the DBs. It renames each file with an episode rather than combining the two episodes in one file

Looking at the list tab, it seems like it does what I want to do:

Show - S01E01-E02
Show - S01E03-E04
etc

I'm just having trouble figuring out the syntax for this, can anybody help?

Re: Syntax for using the List tab on multi-episode files

Posted: 03 Sep 2018, 22:42
by rednoah
This expression will allow you to generate the file name templates you want:

Code: Select all

Show - S01E{(i*2-1).pad(2)}-E{(i*2).pad(2)}