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...
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on November 1, 2015 at 8:18 PM
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.
Reply by Umair
on November 2, 2015 at 6:50 PM
That's awesome, do you have a rough ETA??
Reply by Umair
on January 23, 2016 at 1:32 AM
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?
Reply by Travis Bell
on January 24, 2016 at 10:44 AM
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.
Reply by Umair
on January 24, 2016 at 11:31 AM
Hey Travis,
Thanks for the update, I appreciate you taking a look when you can!
Reply by Viktor Dolgalyov
on September 21, 2017 at 8:05 PM
Good Day, @travisbell ,
Is there any chance to see the feature for the bulk adding to the watchlist in the production? Cheers.
Reply by Travis Bell
on September 22, 2017 at 10:10 AM
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.
Reply by YojiZero
on July 10, 2019 at 12:36 PM
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.
Reply by Travis Bell
on July 12, 2019 at 1:00 AM
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
Reply by YojiZero
on July 12, 2019 at 3:19 PM
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