From 667ec9f16963c5cb33f49fc70bf1b080db25fb05 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 9 Feb 2024 20:54:11 +0100 Subject: fix(sys/nixpkgs/pkgs/yt): Avoid logging, that mpv can't display chars --- sys/nixpkgs/pkgs/yt/src/constants.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys/nixpkgs/pkgs/yt/src/constants.rs') diff --git a/sys/nixpkgs/pkgs/yt/src/constants.rs b/sys/nixpkgs/pkgs/yt/src/constants.rs index 6385df54..5e233656 100644 --- a/sys/nixpkgs/pkgs/yt/src/constants.rs +++ b/sys/nixpkgs/pkgs/yt/src/constants.rs @@ -18,7 +18,12 @@ pub const YT_DLP_FLAGS: [&str; 13] = [ "--sponsorblock-remove", "sponsor", ]; -pub const MPV_FLAGS: [&str; 2] = ["--speed=2.7", "--volume=75"]; +pub const MPV_FLAGS: [&str; 4] = [ + "--speed=2.7", + "--volume=75", + "--keep-open=yes", + "--msg-level=osd/libass=fatal", +]; pub const CONCURRENT: u32 = 5; -- cgit 1.4.1