Page 1 of 1

Are Multi File TV Episodes Supported by AMC Script?

Posted: 14 Apr 2022, 17:18
by HarryMuscle
Are multi file TV episodes supported by the AMC script? I have the following two files that make up one episode

Code: Select all

s01e01 - Episode.cd1.mkv
s01e01 - Episode.cd2.mkv
however, the AMC script seems to only process the second file and gives me the following message

Code: Select all

...
[amc] Input: /location/s01e01 - Episode.cd1.mkv
[amc] Input: /location/s01e01 - Episode.cd2.mkv
[amc] Group: {Series=Title of Series} => [/location/s01e01 - Episode.cd1.mkv, /location/s01e01 - Episode.cd2.mkv]
...
[amc] [MOVE] from [/location/s01e01 - Episode.cd2.mkv] to [/final location/s01e01 - Title of Episode.mkv]
[amc] Skipped [/location/s01e01 - Episode.cd1.mkv] because [/final location/s01e01 - Title of Episode.mkv] already exists
[amc] Processed 1 file
...
(obviously I've change the actual file names and paths in the output above)

Multi file movies seem to work just fine.

Thanks,
Harry

Re: Are Multi File TV Episodes Supported by AMC Script?

Posted: 15 Apr 2022, 04:18
by rednoah
This is a multi-episode file:

Code: Select all

s01e01-e02 - Episode 1 and 2.mkv

This is not a multi-episode file, more like a "single-episode-split-into-parts" file:

Code: Select all

s01e01 - Episode.cd1.mkv
s01e01 - Episode.cd2.mkv
:!: FileBot is indeed not aware of this concept, and therefore cannot identify or process this set of files in whichever special way appropriate.



:arrow: However, according to the log, filebot and the amc script happily identify and match all your s01e01 files just fine, and move them into the same file path, according to your custom format. You can therefore make it work by preserving the cd1/2 part via your custom format, thus generating a unique destination path for each episode part:

e.g. via matching .cd1 from the file path:

Code: Select all

{ fn.match(/.cd1|.cd2/) }
e.g. via {di} duplicate index binding:

Code: Select all

{ '.cd' + di }