Fixed the issue if in Radarr we only want to add and monitor, if the movie already exists we search for it.

pull/2501/head
TidusJar 6 years ago
parent db5d0c0b08
commit 85cbc08463

@ -123,7 +123,10 @@ namespace Ombi.Core.Senders
existingMovie.monitored = true;
await RadarrApi.UpdateMovie(existingMovie, settings.ApiKey, settings.FullUri);
// Search for it
await RadarrApi.MovieSearch(new[] { existingMovie.id }, settings.ApiKey, settings.FullUri);
if (!settings.AddOnly)
{
await RadarrApi.MovieSearch(new[] {existingMovie.id}, settings.ApiKey, settings.FullUri);
}
return new SenderResult { Success = true, Sent = true };
}

Loading…
Cancel
Save