Page 1 of 1

More than one Director

Posted: 14 Aug 2017, 20:09
by devster
I recently tried to process the movie Brave [IMDb] which has 2 directors: Mark Andrews, Brenda Chapman (technically 3 with Steve Purcell as co-director).
In my renaming scheme I use this:

Code: Select all

{n.colon(" - ") + " ($y, $director)"}
as folder name, and this has lead to the movie being processed in two separate folders:

Code: Select all

Brave (2012, Brenda Chapman)
Brave (2012, Mark Andrews)
How can I avoid this?

Re: More than one Director

Posted: 14 Aug 2017, 20:23
by kim
weird

try:
info.Director
info.Directors.first()
info.Directors.join(', ')

Re: More than one Director

Posted: 14 Aug 2017, 22:37
by devster
Thanks, that seems to work, I changed the binding in my format.
It might be a nice addition to the default "director" binding a second "directors" binding to seamlessly do this.
Not necessary by any means though.

Re: More than one Director

Posted: 15 Aug 2017, 01:50
by rednoah
1.
FileBot cannot create two different folder structures / destination file from one single input file. Do you have logs or screenshots?

2.
The {director} binding will just give you the first director. {info} can be used for less common attributes. If it comes up more than once, then I'm inclined to add a directors binding.

Re: More than one Director

Posted: 15 Aug 2017, 14:22
by devster
I apologize, my explanation wasn't clear.
The 2 folders were created in different runs but this still created a duplicate (probably would have anyway since filenames are different).
In any case it's not a big issue and the {info} is a good solution.

Below the logs for the first run:

Code: Select all

Input: <input folder>/movies/Brave.2012.1080p.BluRay.x264-REFiNED/refined-brave-1080p.mkv
Group: [mov:brave 2012] => [refined-brave-1080p.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [<input folder>/movies/Brave.2012.1080p.BluRay.x264-REFiNED/refined-brave-1080p.mkv]
[KEEPLINK] from [<input folder>/downloads/movies/Brave.2012.1080p.BluRay.x264-REFiNED/refined-brave-1080p.mkv] to [<output folder>/Media/Movies/Brave (2012, Mark Andrews)/Brave (2012) [1080p x264 - 5.1 AC3 English - BluRay]-REFiNED.mkv]
Processed 1 files
and the second run:

Code: Select all

Input: <input folder>/movies/Brave (2012) [1080p]-DON/Brave.2012.1080p.Bluray.DD5.1.x264-DON.mkv
...
Group: [mov:brave 2012] => [Brave.2012.1080p.Bluray.DD5.1.x264-DON.mkv]
...
Rename movies using [TheMovieDB]
Auto-detect movie from context: [<input folder>/movies/Brave (2012) [1080p]-DON/Brave.2012.1080p.Bluray.DD5.1.x264-DON.mkv]
[MOVE] from [<input folder>/movies/Brave (2012) [1080p]-DON/Brave.2012.1080p.Bluray.DD5.1.x264-DON.mkv] to [<output folder>/Media/Movies/Brave (2012, Brenda Chapman)/Brave (2012) [1080p x264 - 5.1 AC3 English - BluRay]-DON.mkv]
Processed 1 files

Re: More than one Director

Posted: 15 Aug 2017, 14:44
by kim
then you need this or it can happen again
{info.Directors.sort().join(', ')}

FYI not same file or the "group" got F'd up

Re: More than one Director

Posted: 15 Aug 2017, 16:04
by devster
Thanks, the DON release is for seeding.