diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-08-16 01:46:17 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-08-16 01:46:17 -0400 |
| commit | f39b1607b54073646b8ebae8852000706db885ad (patch) | |
| tree | 8033b4460593fb729f6aecc1c7deba84d952f3f0 /src/config.rs | |
| parent | a435a926689b0b597caa1c724a91694f74dec778 (diff) | |
fix required command options
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index 84ee88b..896f82f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -18,7 +18,13 @@ lazy_static! { }; pub static ref FFMPEG_COMMAND: String = { let result = CONFIG.ffmpeg.clone().unwrap_or("ffmpeg".to_owned()); - log::debug!("got ffmpeg: {}", result); + log::debug!("got ffmpeg: {result}"); + + result + }; + pub static ref YTDL_COMMAND: String = { + let result = CONFIG.ytdl.clone().unwrap_or("yt-dlp".to_owned()); + log::debug!("got ytdl: {result}"); result }; |
