Skip to content

Commit

Permalink
Fix Shazam loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Marekkon5 committed Aug 1, 2023
1 parent eeda4bb commit 92b75ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/onetagger-autotag/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ impl AudioFileInfoImpl for AudioFileInfo {
Ok(AudioFileInfo {
format: tag_wrap.format(),
title,
artists: artists.unwrap_or(vec![]),
artists: artists.ok_or("Missing artist tag!")?,
path: path.to_owned(),
isrc: tag.get_field(Field::ISRC).unwrap_or(vec![]).first().map(String::from),
duration: None,
Expand Down

0 comments on commit 92b75ad

Please sign in to comment.