File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,10 @@ impl From<musicbrainz::Release> for SearchResult {
221
221
release : entity:: Release {
222
222
id : release. id ,
223
223
title : release. title ,
224
- disambiguation : release. disambiguation ,
224
+ disambiguation : match release. disambiguation {
225
+ Some ( d) if !d. is_empty ( ) => Some ( d) ,
226
+ _ => None ,
227
+ } ,
225
228
release_group_id : release. release_group . as_ref ( ) . map ( |r| r. id ) ,
226
229
release_type : release
227
230
. release_group
Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ pub fn tags_from_full_release(full_release: &FullRelease) -> Result<TagMap> {
157
157
map. insert ( TagKey :: Media , vec ! [ media_format. to_string( ) ] ) ;
158
158
}
159
159
let title = if let Some ( ref disambiguation) = release. disambiguation {
160
- // TODO: Make the disambiguation format configurable
161
160
strfmt (
162
161
& settings. library . tagging . title_format ,
163
162
& HashMap :: from ( [
You can’t perform that action at this time.
0 commit comments