The Movie Database Support

i call https://api.themoviedb.org/3/tv/popular?api_key=##########&sort_by=popularity.desc&without_genres=10767,2010766,2010763,2010764

i keep getting the genres i am trying to exclude, is this right or how is that done

4 replies (on page 1 of 1)

Jump to last post

By using a comma, you’re asking to filter any movies that have all of those genres entered, and there is probably none.

You should switch to use a pipe | instead which turns it into an OR query, which I believe is what you’re actually looking for.

For some reason i still have the problem, for example when i call https://api.themoviedb.org/3/tv/popular?api_key=$$$$$&sort_by=popularity.desc I get squid game, i try calling the api with end point &without_genres=18, but i again get squid game which has a genre 18.

Hi @blaidyalah,

I am not seeing Squid Game returned in this query:

https://api.themoviedb.org/3/discover/tv?api_key=###&without_genres=18

When using without_genres=18, there are 149,775 results. When I remove it, there is 190,497 results which seems correct.

Oh yes, the problem is fixed when i use discover tv, instead of popular tv, appreciate it.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login