Allow fetching of a single album #226
@ -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)?)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user