{plex} and pt1 pt2 etc

All your suggestions, requests and ideas for future development
Post Reply
jchh
Posts: 45
Joined: 02 Nov 2020, 15:13

{plex} and pt1 pt2 etc

Post by jchh »

Hi,

{plex} does not seem to handle pt1, pt2 etc

Am I missing something?

The files that are not being matched/renamed with ptX are:

Code: Select all

- French and Saunders - s00e20 - pt1
- French and Saunders - s00e20 - pt2
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: {plex} and pt1 pt2 etc

Post by rednoah »

FileBot does support multi-part movie files, but has no special awareness of multi-part episode files. The former is common. The latter is extremely uncommon.


:idea: That being said, your multi-part episode files will each be matched to the exact same Episode object, which we can assume to be multi-part episodes files in your case, so we can get the names we want simply appending the {di} duplicate index:

Code: Select all

{plex.derive{" (Part $di)"}}

:idea: Alternatively, you could just match the part number from the current file name:

Code: Select all

{plex.derive{fn.match(/ - pt[0-9]/)}}
:idea: Please read the FAQ and How to Request Help.
jchh
Posts: 45
Joined: 02 Nov 2020, 15:13

Re: {plex} and pt1 pt2 etc

Post by jchh »

fantastic - thanks for such quick help!
Post Reply