bliss-rs 0.10.0

This commit is contained in:
CDrummond 2025-03-16 08:17:48 +00:00
parent a2ff1aade1
commit 0dda8a17e7
2 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -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<String>, max
let mut reported_cue:HashSet<String> = HashSet::new();
log::info!("Analysing new files");
for (path, result) in <FFmpeg as Decoder>::analyze_paths_with_cores(track_paths, cpu_threads) {
for (path, result) in <FFmpegDecoder as Decoder>::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());