Implement cannot have MBID in core #220
@ -76,8 +76,8 @@ impl<'a> ArtistOverlay<'a> {
|
||||
Properties: {}",
|
||||
artist.map(|a| a.meta.id.name.as_str()).unwrap_or(""),
|
||||
artist
|
||||
.and_then(|a| Some(UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz)))
|
||||
.unwrap_or(""),
|
||||
.map(|a| UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz))
|
||||
.unwrap_or_default(),
|
||||
Self::opt_hashmap_to_string(
|
||||
artist.map(|a| &a.meta.properties),
|
||||
&double_item_indent,
|
||||
@ -104,8 +104,8 @@ impl<'a> AlbumOverlay<'a> {
|
||||
MusicBrainz: {}",
|
||||
album.map(|a| a.meta.id.title.as_str()).unwrap_or(""),
|
||||
album
|
||||
.and_then(|a| Some(UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz)))
|
||||
.unwrap_or(""),
|
||||
.map(|a| UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz))
|
||||
.unwrap_or_default(),
|
||||
));
|
||||
|
||||
AlbumOverlay { properties }
|
||||
|
Loading…
Reference in New Issue
Block a user