Fix build

This commit is contained in:
CDrummond 2025-03-09 13:26:39 +00:00
parent f23202e956
commit 6fd78df3ef
3 changed files with 5 additions and 3 deletions

View File

@ -25,9 +25,9 @@ ureq = "2.4.0"
configparser = "3.0.0"
if_chain = "1.0.2"
num_cpus = "1.13.0"
which = { "7.0.2", optional = true }
rcue = { "0.1.3", optional = true }
hhmmss = { "0.1.0", optional = true }
which = { version = "7.0.2", optional = true }
rcue = { version = "0.1.3", optional = true }
hhmmss = { version = "0.1.0", optional = true }
[features]
default = ["libav"]

View File

@ -6,6 +6,7 @@
*
**/
#[cfg(feature = "ffmpeg")]
extern crate rcue;
#[cfg(feature = "ffmpeg")]

View File

@ -286,6 +286,7 @@ impl Db {
let track_path = mpath.join(&dbtags.file);
if track_path.exists() {
let path = String::from(track_path.to_string_lossy());
#[allow(unused_mut)] // ftags is mutable if using ffmpeg on commandline
let mut ftags = tags::read(&path, false);
#[cfg(feature = "ffmpeg")]