Fixed a subtle bug when downloading movies where the movie_id needs to be specified in the POST to the releases endpoint

This commit is contained in:
2023-08-08 10:50:07 -06:00
parent 77fd9e621f
commit e9b6ff0ca1
3 changed files with 16 additions and 2 deletions
+6 -1
View File
@@ -443,6 +443,7 @@ impl<'a, 'b> Network<'a, 'b> {
}
async fn download_release(&mut self) {
let (movie_id, _) = self.extract_movie_id().await;
let (guid, title, indexer_id) = {
let app = self.app.lock().await;
let Release {
@@ -457,7 +458,11 @@ impl<'a, 'b> Network<'a, 'b> {
info!("Downloading release: {}", title);
let download_release_body = ReleaseDownloadBody { guid, indexer_id };
let download_release_body = ReleaseDownloadBody {
guid,
indexer_id,
movie_id,
};
let request_props = self
.radarr_request_props_from(