Update lofty to 0.9.0

This commit is contained in:
CDrummond committed 2022-12-20 09:25:45 +00:00
1 parent eb16d8379d
commit 703e39508c
3 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ pub fn read(track: &String) -> db::Metadata {
..db::Metadata::default()
};
if let Ok(file) = lofty::read_from_path(Path::new(track), true) {
if let Ok(file) = lofty::read_from_path(Path::new(track)) {
let tag = match file.primary_tag() {
Some(primary_tag) => primary_tag,
None => file.first_tag().expect("Error: No tags found!"),