If you have the same episode multiple times, then you can use the
duplicate index and
duplicate count to generate unique file paths:
Code: Select all
{ emby.id.derive{ { if (dc > 1) " (Part $di)" } } }
Note that multi-part episodes typically have multiple episode numbers for each part, thus making it not the same episode / not a duplicate from the FileBot point-of-view, thus making duplicate index and duplicate count not useful for your use case, since you don't actually have duplicate episodes.
You just need to match each file to the correct episodes, fixing matches via Manual Matching as necessary.
EDIT:
I see! You just mean to say that
{emby} removes the
(Part 1) at the end for some reason. You could probably write your own custom format and use
{t} instead.
EDIT 2:
But that would be unrelated to colliding file paths, since the episode number makes each file path unique already.
jprokos wrote: ↑29 Apr 2023, 18:03
The only way I have found to resolve this is to use CRC32 so they don't collide
Note that the file paths
cannot collide if the episode number is different. If the episode match is correct, then the episode number is different. See episode list screenshot above.
EDIT 3:
The
{plex} format bindings in FileBot r9738 or above now preserve the
(Part 1) pattern from the episode title for single episodes.