Allow fetching of a single album #226

Merged
wojtek merged 3 commits from 225---allow-fetching-of-a-single-album into main 2024-09-29 12:38:38 +02:00
Showing only changes of commit d477037532 - Show all commits

View File

@ -199,8 +199,7 @@ impl AppMachine<FetchState> {
if !matches!(album.meta.info.musicbrainz, MbRefOption::None) { if !matches!(album.meta.info.musicbrainz, MbRefOption::None) {
return Err(FetchError::NothingToFetch); return Err(FetchError::NothingToFetch);
} }
let requests = let requests = Self::search_albums_requests(artist_id, artist_mbid, slice::from_ref(album));
Self::search_albums_requests(&artist_id, &artist_mbid, slice::from_ref(album));
Ok(musicbrainz.submit_background_job(result_sender, requests)?) Ok(musicbrainz.submit_background_job(result_sender, requests)?)
} }