diff options
author | Soispha <soispha@vhack.eu> | 2024-02-09 20:54:11 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-09 20:54:11 +0100 |
commit | 667ec9f16963c5cb33f49fc70bf1b080db25fb05 (patch) | |
tree | f9ea066a42a2d158c8f14deffea6d8bbe75f24e8 /sys/nixpkgs/pkgs/yt/src/downloader.rs | |
parent | fix(sys/nixpkgs/pkgs/yt): Replace all quotes (diff) | |
download | nixos-config-667ec9f16963c5cb33f49fc70bf1b080db25fb05.zip |
fix(sys/nixpkgs/pkgs/yt): Avoid logging, that mpv can't display chars
Diffstat (limited to '')
-rw-r--r-- | sys/nixpkgs/pkgs/yt/src/downloader.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/yt/src/downloader.rs b/sys/nixpkgs/pkgs/yt/src/downloader.rs index f29f4a3b..e915700d 100644 --- a/sys/nixpkgs/pkgs/yt/src/downloader.rs +++ b/sys/nixpkgs/pkgs/yt/src/downloader.rs @@ -142,6 +142,8 @@ impl Downloader { mpv.stdout(stdout()); mpv.stderr(stderr()); mpv.args(MPV_FLAGS); + // TODO: Set the title to the name of the video, not the path <2024-02-09> + // mpv.arg(format!("--title=")) mpv.arg(&path); let status = mpv.status().context("Failed to run mpv")?; |