Syntax for using the List tab on multi-episode files

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
kooliokevin
Posts: 1
Joined: 03 Sep 2018, 17:29

Syntax for using the List tab on multi-episode files

Post by kooliokevin » 03 Sep 2018, 17:32

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?

User avatar
rednoah
The Source
Posts: 15313
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah » 03 Sep 2018, 22:42

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)}
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests