mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2026-10-22 22:32:08 +03:00
Update lofty to 0.9.0
This commit is contained in:
1 parent
eb16d8379d
commit
703e39508c
3 files changed
+9
-8
No files matched your search
+1
-1
@@ -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!"),
|
||||
|
||||
Reference in new issue
Block a user