Is there a way to add Producer, Director, etc to movie names?

Support for Windows users
Post Reply
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Is there a way to add Producer, Director, etc to movie names?

Post by vballrican »

Hi, Is there a way to add Producer, Director, etc to movie names? I have a lot of kung-fu movies that i would like to know who produced them? Shaw Brothers, etc.. Thanks.
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a way to add Producer, Director, etc to movie names?

Post by rednoah »

Yes. See {director} and Crew, Cast and Characters.


e.g. director:

Format: Select all

{ director }

e.g. find the first producer from the cast & crew listing:

Format: Select all

{ info.crew.find{ it.job =~ /Producer/ }.name }
:idea: Please read the FAQ and How to Request Help.
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Re: Is there a way to add Producer, Director, etc to movie names?

Post by vballrican »

Thanks... i added the above code to find first producer to my string but it doesn't show anything

Code: Select all

/processed/{y}/{n} ({y}) - [{info.certifications.US}, {genre}, {y}]/{n} ({y})({minutes} Min){ info.crew.find{ it.job =~ /Producer/ }.name }
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a way to add Producer, Director, etc to movie names?

Post by rednoah »

:?: Which movie are you testing with?


Here's what I see:

Console Output: Select all

$ filebot -list --db TheMovieDB --q 19995 --format '{ny} produced by { info.crew.find{ it.job =~ /Producer/ }.name }'
Avatar (2009) produced by James Cameron
:idea: Please read the FAQ and How to Request Help.
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Re: Is there a way to add Producer, Director, etc to movie names?

Post by vballrican »

Thanks.. i got it.. movie i was testing with didn't have a producer.. :|
Post Reply