The Movie Database Support

Hey, I was wondering if the API for "/account/{id}/watchlist" and "/list/{id}/add_item" allow specifying an array of media_ids in the json body to bulk add movies with one API call? Currently I'm adding in a "sync" feature for my app but as the documentation currently states you specify one media_id per call... I have a feeling if someone has > 30 movies to sync that I will hit the IP rate limit instantly for that user...

10 replies (on page 1 of 1)

Jump to last post

Hi Umair,

This is planned, I have created a new ticket for this here. Lists are going to be re-written in a bit and will support a lot more at that time. The 3 main account lists (rated, watch list, favourite) could benefit from this as well.

Cheers.

That's awesome, do you have a rough ETA??

Is there a way to get around the rate-limit when adding movies? I'm currently running into an issue for first time users syncing their accounts and having 40 + movies saved in their watchlist (movies are saved internally on the app database). I believe this is because of the IP rate limit that is set, since I have to make an API call for each movie to add to their list.

A purposed change would be to keep the same endpoint (for both watchlist and custom lists) but allow an array of movie ids to be passed in. I'm assuming it shouldn't be too difficult to handle this in the back-end since you could just loop over the array of ids and add them one by one?

Hi Umair,

Yes, that would be how I do it. I don't have this prioritized at the moment but can see about what my next few weeks looks like. I'll update this thread when I have an update.

There's some general work I'd like to finish up in the account stuff (like being able to search the lists and better sorting/filtering). I've just been busy on the new website as of late.

Cheers.

Hey Travis,

Thanks for the update, I appreciate you taking a look when you can!

Good Day, @travisbell ,

Is there any chance to see the feature for the bulk adding to the watchlist in the production? Cheers.

Custom lists got bulk importing back in August 2016 when the v4 lists went live.

With regards to bulk importing into your watchlist, rated or favourite lists, this is something that is still planned. Ironically, the website currently supports importing CSV files to those lists but not to custom lists. So I still need to build doing custom lists on the website and account lists on the API.

@travisbell said:

Custom lists got bulk importing back in August 2016 when the v4 lists went live.

With regards to bulk importing into your watchlist, rated or favourite lists, this is something that is still planned. Ironically, the website currently supports importing CSV files to those lists but not to custom lists. So I still need to build doing custom lists on the website and account lists on the API.

Will this ever get updated? Importing a csv only goes to preset lists (rate, watchlist, favs) which have no ID numbers in the URL to use in radarr and the custom lists we can create have the URL IDs but no ability to import a list, meaning we need to manually add (in my case hundreds) of movies ...

If it has been updated, can you point me please. As i've been looking through both list options in my account and come up with nothing.

Hi @YojiZero my open ticket for this is here.

With regards to using your account lists with Radarr, this is something that our API supports, so they really should just build in support for it. That way all of your activity here on the website (or in Radarr) would stay in sync.

P.S. actually, it looks like some of the work was already done, you should bug them to finish it wink

@travisbell said:

Hi @YojiZero my open ticket for this is here.

With regards to using your account lists with Radarr, this is something that our API supports, so they really should just build in support for it. That way all of your activity here on the website (or in Radarr) would stay in sync.

P.S. actually, it looks like some of the work was already done, you should bug them to finish it wink

Ahh sweet. I see you have a lot in your "up next/ backlog" before reaching this particular problem. I'll wait :)

Had a look at the work started, have no idea whats going on withe code etc lol. Though i'll be sure to bug them nonetheless :D

Thanks for the reply man

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

You need to be logged in to continue. Click here to login or here to sign up.