[Request] Support for cd num or -a and -b in movie filenames

All your suggestions, requests and ideas for future development
Post Reply
Posts: 30
Joined: 25 Jan 2012, 09:19

[Request] Support for cd num or -a and -b in movie filenames

Post by belgarth »

Forgive me if this already exists, I wasn't able to find a way to deal with Movie filenames with cd numbers in them or with -a and -b, ie:

As currently implemented, running filebot rename cli on it will just renames the first one (cd1 or -a) and leaves the other as is. It would be nice if there was a mechanism that recognized that the movie was spread across 2 files and could then add it back into the final filename.
User avatar
The Source
Posts: 19900
Joined: 16 Nov 2011, 08:59
Location: Taipei

Re: [Request] Support for cd num or -a and -b in movie filen

Post by rednoah »

If you rename both files as a set (in one call) and both files get matched to the same movie, you'll be able to use {pi}.

Like this:

Code: Select all

{n} ({y}){" CD$pi"}
{pi} only works within one rename set though. So if you call rename() for each file this won't work. Maybe you can workaround with match() function that'll allow you to easly keep parts of the original filename, e.g. {fn.match(/CD[1-3]|/-[a-c]/)}
:idea: Please read the FAQ and How to Request Help.
Post Reply