aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2022-11-29 11:15:49 -0500
committerNathan Perry <np@nathanperry.dev>2022-11-29 11:15:49 -0500
commit6181fc78cd125c48584e933a60188ec51819130d (patch)
tree0357d1e5b59530b2da83271c8a2021df86c8eb72 /src/config.rs
parentf7155b7372f9007a378cb07d5acdc1abcc8cc7f1 (diff)
nix: ensure ownership on start
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)]