From 0dda8a17e776d24d26a2ab9621ab2e4e6c8eb811 Mon Sep 17 00:00:00 2001 From: CDrummond Date: Sun, 16 Mar 2025 08:17:48 +0000 Subject: [PATCH] bliss-rs 0.10.0 --- Cargo.toml | 6 +++--- src/analyse.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 63553d0..cba6011 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,6 @@ symphonia = ["bliss-audio/symphonia-all", "bliss-audio/symphonia-aiff", "bliss-a [dependencies.bliss-audio] default-features = false features = ["aubio-static"] -# version = "0.9.4" -git = "https://github.com/Polochon-street/bliss-rs.git" -rev = "006927ac16752ff2e00bfe0d6b7756f67fa822c0" +version = "0.10.0" +#git = "https://github.com/Polochon-street/bliss-rs.git" +#rev = "006927ac16752ff2e00bfe0d6b7756f67fa822c0" diff --git a/src/analyse.rs b/src/analyse.rs index 64cdbf1..3cfeffc 100644 --- a/src/analyse.rs +++ b/src/analyse.rs @@ -33,7 +33,7 @@ use std::thread; use std::time::Duration; use num_cpus; #[cfg(feature = "libav")] -use bliss_audio::{decoder::Decoder, decoder::ffmpeg::FFmpeg}; +use bliss_audio::{decoder::Decoder, decoder::ffmpeg::FFmpegDecoder}; #[cfg(feature = "ffmpeg")] use bliss_audio::{decoder::Decoder, BlissResult, Song}; #[cfg(feature = "symphonia")] @@ -178,7 +178,7 @@ fn analyse_new_files(db: &db::Db, mpath: &PathBuf, track_paths: Vec, max let mut reported_cue:HashSet = HashSet::new(); log::info!("Analysing new files"); - for (path, result) in ::analyze_paths_with_cores(track_paths, cpu_threads) { + for (path, result) in ::analyze_paths_with_cores(track_paths, cpu_threads) { let stripped = path.strip_prefix(mpath).unwrap(); let spbuff = stripped.to_path_buf(); let sname = String::from(spbuff.to_string_lossy());