IMDB Database

All about user-defined episode / movie / file name format expressions
Post Reply
enzoi7372
Posts: 2
Joined: 29 May 2023, 09:08

IMDB Database

Post by enzoi7372 »

First of all i should mention that I've searched the whole forum for this and haven't find a solution so i figured to ask.
Is there any way to get more than 3 actors or genres from IMDB? tryed different things and none seem to work.
For example when i use this

Code: Select all

{omdb.cast.name.take(4).join(', ')}
it only returns 3 actor names, same goes for genres.
I know it can be done with TMDB database but thats a litle different i prefer having IMDB information.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IMDB Database

Post by rednoah »

Looks like OMDb API indeed only returns 3 actors. Well, that's that.


:idea: Note that FileBot does not use IMDB, and cannot use IMDB as per IMDB Terms of Service.


:?: Why not use TheMovieDB information? You can always contribute to TheMovieDB if something is still missing.
:idea: Please read the FAQ and How to Request Help.
enzoi7372
Posts: 2
Joined: 29 May 2023, 09:08

Re: IMDB Database

Post by enzoi7372 »

Thank you for the answer boss
Well actually im currently using TheMovieDB the problem is some genres are missing like "musical" and "sport".
I was wondering if it is possible to combine data from OMDB and TheMovieDB for example take the 3 main genres form OMDB API then get genres from TheMovieDB and remove the duplicates.
That seems to be a little tricky but in theory it could be possible.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IMDB Database

Post by rednoah »

I'd start by adding the missing genres to TheMovieDB.


You can of course combine the results of different bindings:

Code: Select all

{
	(omdb.genres + genres).unique().take(5)
}
But you will find it hard to deduplicate "similar but not the same" genres:

Code: Select all

[Adventure, Drama, Sci-Fi, Action & Adventure, Sci-Fi & Fantasy]
:idea: Please read the FAQ and How to Request Help.
Post Reply