Provide a keyboard shortcut to sync all existing albums with MusicBrainz #167
@ -94,8 +94,11 @@ impl<MH: IMusicHoard> IAppInteractBrowse for AppMachine<MH, AppBrowse> {
|
|||||||
let client = match MusicBrainzApiClient::new(MUSICHOARD_TUI_HTTP_USER_AGENT) {
|
let client = match MusicBrainzApiClient::new(MUSICHOARD_TUI_HTTP_USER_AGENT) {
|
||||||
Ok(client) => client,
|
Ok(client) => client,
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
return AppMachine::error(self.inner, format!("cannot fetch: {}", err.to_string()))
|
return AppMachine::error(
|
||||||
.into()
|
self.inner,
|
||||||
|
format!("cannot fetch: HTTP client init failed: {}", err.to_string()),
|
||||||
|
)
|
||||||
|
.into()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
let mut api = MusicBrainzApi::new(client);
|
let mut api = MusicBrainzApi::new(client);
|
||||||
|
Loading…
Reference in New Issue
Block a user