mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2025-04-07 20:50:04 +03:00
bliss-rs 0.10.0
This commit is contained in:
parent
a2ff1aade1
commit
0dda8a17e7
@ -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"
|
||||
|
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user