feat(library): allow mp3 in local library

This commit is contained in:
vicrodh committed 2026-01-14 01:47:34 -06:00
1 parent 48c7649609
commit d4716af0d2
5 files changed
+8 -3

No files matched your search

+2 -1
View File
@@ -414,6 +414,7 @@ impl MetadataExtractor {
Some("wav") => AudioFormat::Wav,
Some("aiff") | Some("aif") => AudioFormat::Aiff,
Some("ape") => AudioFormat::Ape,
Some("mp3") => AudioFormat::Mp3,
_ => AudioFormat::Unknown,
}
}
@@ -665,7 +666,7 @@ mod tests {
);
assert_eq!(
MetadataExtractor::detect_format(Path::new("test.mp3")),
AudioFormat::Unknown
AudioFormat::Mp3
);
}
}