The Movie Database Support

4 replies (on page 1 of 1)

Jump to last post

@sereisoglu said:

Hi,
If you make the following call, you will see that "Guardians of the Galaxy" is in the wrong place.
https://api.themoviedb.org/3/discover/movie?api_key=APIKEY&language=en-US&with_companies=420&sort_by=release_date.desc&include_adult=false&include_video=false&page=1

As I am not a fan of these films, so I need more help to understand the problem.
The mistake is obvious to you. But for me it is a mystery.
In what position should the film appear?
The expected opening date is 2023-02-17.
Which film should appear in the first position?

I made the request as "sort_by = release_date.desc".
.
.
.
Marvel Studios: Expanding the Universe -> 2019-11-12
Guardians of the Galaxy -> 2014-07-30
Peter's To-Do List -> 2019-09-17
.
.
.
The name of the movie is "Guardians of the Galaxy", not "Guardians of the Galaxy Vol. 3".

Unless a region is specified, a release_date.desc sort by option will sort by the newest release date that has been added to the movie (release_date.asc sorting on the earliest of course). You can see here that Sweden has some physical releases added. Also, without a region, the default display date is the primary release date, hence it showing 2014-07-30.

https://api.themoviedb.org/3/discover/movie?api_key=APIKEY&language=en-US&with_companies=420&sort_by=release_date.desc&include_adult=false&include_video=false&page=1&region=US

Will force a query to the US release dates, not only showing you the correct display date but also forcing the data to sort on the proper regional release date.

OK. Understand.
This film has the following Release date:

SE Sweden - 10/14/2019 11 Bluray / DVD / VHS 4K Ultra HD

And you used the &sort_by=release_date.desc parameter.
And this Swedish date is a release_date.
I believe that if you use the &sort_by=primary_release_date.desc parameter, then only the global premiere dates will be considered.
Other dates, such as relaunching or launching Bluray will be discarded.
Try using &sort_by=primary_release_date.desc


EDIT
Ooops! It seems that Travis Bell has already given the solution. :-)

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