Page 1 of 1

Multi-file episodes

Posted: 19 Oct 2017, 15:16
by pjac
Hi,

I have 3 seasons of The Twilight Zone in which each segment of each episode has been split into separate files. Sometimes there are 2 (suffixed "a" & "b") and sometimes there are 3 ("a", "b" & "c"). I want to avoid merging the files together (mostly as it will be boring to do so).

For example:

Code: Select all

The Twilight Zone (1985) - S01E01a - Shatterday.avi
The Twilight Zone (1985) - S01E01b - A Little Peace and Quiet.avi
I used Plex to play media, so I want to rename the files to work with that. Plex will then merge them together as a single episode when playing them. That means renaming to the following (or somewhat close):

Code: Select all

The Twilight Zone (1985) - S01E01 - Shatterday & A Little Peace and Quiet.part1.avi
The Twilight Zone (1985) - S01E01 - Shatterday & A Little Peace and Quiet.part2.avi
For movies, there is "pi" for "type==MoviePart", but that doesn't seem to work for episodes.

Any advice on how to go about this?

Peter.

Re: Multi-file episodes

Posted: 19 Oct 2017, 18:23
by rednoah
1.
You won't get lucky here, because 1x01b is incorrect and doesn't match the database:

Code: Select all

The Twilight Zone (1985) - 1x01 - Shatterday
The Twilight Zone (1985) - 1x02 - A Little Peace and Quiet
...

2.
In general, the {di} duplicate index binding could be useful in cases where the exact same episode matches multiple files and you want to add a sequential number.


3.
You might be able to come up with some creative hacks for pre-processing files. Useful when SxE numbers don't make sense.

Re: Multi-file episodes

Posted: 24 Oct 2017, 15:55
by pjac
Well gosh :) Made the mistake of checking IMDB and not TheTVDB. IMDB lists the episodes as a single episode per broadcast, whereas TheTVDB lists them split into each segment. Which I guess is technically wrong, but super handy for me at the moment ^_^

Handy to learn of {di}, though. Not come across that before. Thanks!

I ended up using the GUI to do the rename using Filebot's Episodes feature to get the list of episodes and a bit of jiggling with the files to get them in the right order. Done in about 10 minutes total thanks to Filebot.