aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 56e9190..846b25b 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -19,7 +19,12 @@ lazy_static! {
Config::init().unwrap()
};
- pub static ref FFMPEG_COMMAND: String = CONFIG.ffmpeg.clone().unwrap_or("youtube-dl".to_owned());
+ pub static ref FFMPEG_COMMAND: String = {
+ let result = CONFIG.ffmpeg.clone().unwrap_or("youtube-dl".to_owned());
+ log::debug!("got ffmpeg: {}", result);
+
+ result
+ };
}
#[derive(Envconfig)]