Update upload.rs
Continuous integration / Check (push) Successful in 39s
Continuous integration / Rustfmt (push) Successful in 33s
Continuous integration / build (push) Successful in 2m8s
Continuous integration / build-release (push) Successful in 1m9s

This commit is contained in:
wt committed 2026-02-17 22:56:59 +07:00
1 parent fe918433e8
commit 25b1a6292f
1 file changed
+6 -1
+6 -1
View File
@@ -292,7 +292,12 @@ async fn extract_duration(filepath: &str) -> Option<f64> {
let metadata_opts = MetadataOptions::default();
let probed = match symphonia::default::get_probe().format(&hint, mss, &format_opts, &metadata_opts) {
let probed = match symphonia::default::get_probe().format(
&hint,
mss,
&format_opts,
&metadata_opts,
) {
Ok(probed) => probed,
Err(e) => {
eprintln!("Error probing media file: {}", e);