I made a Telegram bot for adding movies to the Radarr library but unfortunately they aren't grabbed even when available. I have to manually trigger the search through the Web UI.
Is there a way to force the search when adding a movie through the API?
That's what I'm POST-ing:
{
"title": "${movieTitle}",
"path": "../${movieTitleYear}",
"qualityProfileId": 6,
"images": [{
"coverType": "poster",
"url": "https://image.tmdb.org/t/p/w1280/${posterURL}"
}],
"monitored": true,
"titleSlug": "",
"minimumAvailability": "announced",
"imdbId": "${imdbID}",
"tmdbId": "${tmdbID}"
}
You can set the addOptions to get the desired effect:
{
...
"addOptions" : {
"searchForMovie" : true
}
...
}
Awesome, thanks!
Was also looking for this! The API's documentation doesn't seem to mention any of the addOptions. Is there an endpoint to see them all, or would you perhaps be able to add a list of them to the documentation for future reference?
@SpencerCurtis You can edit the documentation yourself :) I don鈥榯 plan on really expanding the documentation, especially with the new UI probably requiring some new endpoints. However, ususally the chrome dev tools give you the information needed for replicating the functionality of Radarr itself. I don鈥榯 think we have any more add options than are used in the WebInterface. Another way to get this info, is just looking through the code.
Sounds great, I'll do that, thanks!
@galli-leo Any chance this option might have stopped working with recent updates?
Edit: Never mind, it seems my Radarr instance has been bugged. Refreshing the whole library fixed the searchForMovie option.
Most helpful comment
You can set the addOptions to get the desired effect: