Skip to content

Commit

Permalink
Update lofty to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CDrummond committed Dec 20, 2022
1 parent eb16d83 commit 703e395
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rusqlite = { version = "0.25.0", features = ["bundled"] }
log = "0.4.14"
env_logger = "0.8.4"
indicatif = "0.16.2"
lofty = "0.8.1"
lofty = "0.9.0"
dirs = "1"
chrono = "0.4.19"
regex = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/tags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!"),
Expand Down

0 comments on commit 703e395

Please sign in to comment.