The Movie Database Support

Hi. First I would say sorry if it's hard to read because I am not a native speaker.

I've just started to learn about using this API and doing some experiments to get in this thing. I tried to use COMMA and PIPE separation for 'with_release_type' as the document says it can be, but I faced the problem that both comma and pipe separation put out same result.

The below are the queries I used for the test. First one used pipe and expected to output many results matched either 3 or 4, and the second used comma and expected to output NONE because there is no movie released both in theater and digital within designated period (only two digital-only movies returned for '4 only' discover query). But both queries output 23 results and it seems both comma and pipe are processed like pipe.

https://api.themoviedb.org/3/discover/movie?api_key=[api_key]&language=ko-KR&region=KR&sort_by=primary_release_date.desc&include_adult=false&include_video=false&page=1&primary_release_date.gte=2019-10-01&primary_release_date.lte=2019-11-01&with_release_type=3|4&with_original_language=ko

https://api.themoviedb.org/3/discover/movie?api_key=[api_key]&language=ko-KR&region=KR&sort_by=primary_release_date.desc&include_adult=false&include_video=false&page=1&primary_release_date.gte=2019-10-01&primary_release_date.lte=2019-11-01&with_release_type=3,4&with_original_language=ko

please let me know if I'm doing something wrong . Thanks a lot to all.

3 replies (on page 1 of 1)

Jump to last post

You are correct to assume essentially zero movies with 3 AND 4 release types. Having looked at the code just now though, I can tell you I am not executing the and/or logic on with_release_type. I am only executing this filer as an OR, no matter what you enter (comma or pipe.)

Thanks for quick reply. Thx.

No problem. I could add the AND execution to with_release_type but I suspect it would almost never get used, so it's a fairly low priority.

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