Can filebot return any movie metadata?

All your suggestions, requests and ideas for future development
Post Reply
frontrange
Posts: 23
Joined: 11 Dec 2023, 17:09

Can filebot return any movie metadata?

Post by frontrange »

Does the cli provide any ability to return metadata like plot, actors, director? I would like to build a local database and am looking for a way to extract this metadata.

TIA.
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can filebot return any movie metadata?

Post by rednoah »

Yes, you can use the command-line for that. There are multiple ways to do it.

A.
Let filebot generate *.nfo XML files.

B.
Alternatively, you can use the -list command to print information to the command-line using a custom format.
:idea: Please read the FAQ and How to Request Help.
frontrange
Posts: 23
Joined: 11 Dec 2023, 17:09

Re: Can filebot return any movie metadata?

Post by frontrange »

That's great, but I couldn't find any examples. Could you please point me to one where I pass a movie title and year and get the xml output file please?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can filebot return any movie metadata?

Post by rednoah »

A.
Please read Fetch artwork and NFO files (v2) for filebot -script fn:nfo details. You notably can only generate *.nfo files for movie files that have previously been processed with FileBot and tagged with xattr metadata.


B.
You can search for movies and print information like so:

Console Output: Select all

$ filebot -list --db TheMovieDB --q "avatar" --format "{n} | {y} | {director} | {actors}"
Avatar | 2009 | James Cameron | [Sam Worthington, Zoe Saldaña, ...]
:idea: Please read the FAQ and How to Request Help.
frontrange
Posts: 23
Joined: 11 Dec 2023, 17:09

Re: Can filebot return any movie metadata?

Post by frontrange »

Thanks for that! I tried it but it failed so I put an update under the support forum.
Post Reply