Are Multi File TV Episodes Supported by AMC Script?

All about user-defined episode / movie / file name format expressions
Post Reply
HarryMuscle
Posts: 34
Joined: 06 Jan 2022, 22:40

Are Multi File TV Episodes Supported by AMC Script?

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

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