mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2025-04-08 05:00:02 +03:00
Fix build
This commit is contained in:
parent
f23202e956
commit
6fd78df3ef
@ -25,9 +25,9 @@ ureq = "2.4.0"
|
|||||||
configparser = "3.0.0"
|
configparser = "3.0.0"
|
||||||
if_chain = "1.0.2"
|
if_chain = "1.0.2"
|
||||||
num_cpus = "1.13.0"
|
num_cpus = "1.13.0"
|
||||||
which = { "7.0.2", optional = true }
|
which = { version = "7.0.2", optional = true }
|
||||||
rcue = { "0.1.3", optional = true }
|
rcue = { version = "0.1.3", optional = true }
|
||||||
hhmmss = { "0.1.0", optional = true }
|
hhmmss = { version = "0.1.0", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["libav"]
|
default = ["libav"]
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
#[cfg(feature = "ffmpeg")]
|
||||||
extern crate rcue;
|
extern crate rcue;
|
||||||
|
|
||||||
#[cfg(feature = "ffmpeg")]
|
#[cfg(feature = "ffmpeg")]
|
||||||
|
@ -286,6 +286,7 @@ impl Db {
|
|||||||
let track_path = mpath.join(&dbtags.file);
|
let track_path = mpath.join(&dbtags.file);
|
||||||
if track_path.exists() {
|
if track_path.exists() {
|
||||||
let path = String::from(track_path.to_string_lossy());
|
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);
|
let mut ftags = tags::read(&path, false);
|
||||||
|
|
||||||
#[cfg(feature = "ffmpeg")]
|
#[cfg(feature = "ffmpeg")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user