Hello everyone,
I have been using FileBot 4.8.5 for years although I have not used in in months (Netflix and Prime have taken over mostly). Now I was doing some cleaning and wanted to use filebot to also sort my movies.
Unfortunately TheMovieDB does not seem to have the same level of information (e.g. production companies) as IMDB. So my syntax is not working.
Is there a way to use IMDB instead of MovieDB?
Thank you
Alex
Possible to use IMDB for movies? What do I do if info.productionCompanies doesn't work?
Re: Possible to use IMDB for movies?


Re: Possible to use IMDB for movies? What do I do if info.productionCompanies doesn't work?
Thank you for your reply. I do not even see the Production Companies on TheMovieDB. I just see that filebot does not find the information.
Example is Suicide Squad: Birds of Prey. "DC Entertainment" does not work as filter.
Example is Suicide Squad: Birds of Prey. "DC Entertainment" does not work as filter.
Re: Possible to use IMDB for movies? What do I do if info.productionCompanies doesn't work?
Production Companies are listed in the Production Information section:
https://www.themoviedb.org/movie/495764 ... nformation

https://www.themoviedb.org/movie/495764 ... nformation

Re: Possible to use IMDB for movies? What do I do if info.productionCompanies doesn't work?
Okay, so I am able to do it using DC Films as production company.
Keywords still does not work.
Also, small bonus question. I am trying to add a "_" after the bitdepth, but if I write it directly after bitdepth it does not work anymore and if I put any symbol infront of the "_" I see the symbol.
Supposed to result in
Keywords still does not work.

Also, small bonus question. I am trying to add a "_" after the bitdepth, but if I write it directly after bitdepth it does not work anymore and if I put any symbol infront of the "_" I see the symbol.
Code: Select all
{"$hdr$bitdepth'_'"}
but results inHDR10_
HDR10'_'
Re: Possible to use IMDB for movies? What do I do if info.productionCompanies doesn't work?
1.
Note that we have already confirmed that checking for keywords fundamentally works in your other thread, so you'll want to take that as an example, and confirm again for yourself with your own eyes, and then take it from there for other cases where something doesn't work:
2.
You can write:
Alternatively, if you want to account for {hdr} being undefined and break the entire {...} in that corner case:
Note that {hdr} can yield the value "HDR" or "Dolby Vision" so adding 8 or 10 without space will not look good in the latter case.
What keyword are you checking for? What is the value of {info.keywords} for the movie you're testing with?

rednoah wrote: ↑28 May 2022, 14:41 Your code works for my test case:Code: Select all
'dc extended universe' in info.keywords
Code: Select all
$ filebot -list --q 791373 --db TheMovieDB --format "{ny} | {info.keywords} | {'dc extended universe' in info.keywords}" Zack Snyder's Justice League (2021) | [superhero, based on comic, superhero team, dc extended universe, superhero teamup] | true
2.
You can write:
Code: Select all
{hdr}{bitdepth}_
Code: Select all
{ hdr + bitdepth + '_' }

Re: Possible to use IMDB for movies? What do I do if info.productionCompanies doesn't work?
Thank you!
Yes, I am hoping to solve the Dolby Vision case using
But I do not have a Dolby Vision file to test it with, so I will have to wait and see if it works 
Yes, I am hoping to solve the Dolby Vision case using
Code: Select all
({ hdr == 'Dolby Vision' ? {hdr} : { hdr + bitdepth + '_' }}

Re: Possible to use IMDB for movies? What do I do if info.productionCompanies doesn't work?
The inner {...} are incorrect because are writing Groovy code, and not delimiting the beginning and the end of a Groovy code snippet, so:
viewtopic.php?t=1895
Code: Select all
{ hdr == 'Dolby Vision' ? 'Dolby Vision_' : hdr + bitdepth + '_' }
