diff options
author | aszlig <aszlig@nix.build> | 2020-02-10 06:04:18 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2020-02-10 06:18:52 +0100 |
commit | 8b4216b8960d13d81df5774e3acaf485e29283d9 (patch) | |
tree | 7b7aa1dd450da011226e1cb709b3da0f9446953e /modules | |
parent | 7a2023277da1c362e3fbc0b606e2fbaa5201b12e (diff) |
programs/mpv: Don't youtube-dl videos > 1080p
Since more and more "Ultra HD" videos are out there, it really doesn't make any sense to play such big resolutions if the monitor only is a 1080p display. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/aszlig/programs/mpv/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/aszlig/programs/mpv/default.nix b/modules/user/aszlig/programs/mpv/default.nix index 7f7f66fa..ac5870f4 100644 --- a/modules/user/aszlig/programs/mpv/default.nix +++ b/modules/user/aszlig/programs/mpv/default.nix @@ -10,6 +10,7 @@ let mkdir -p "$out/etc/mpv" cat > "$out/etc/mpv/mpv.conf" <<CONFIG ao=pulse + ytdl-format=bestvideo[height <= 1080]+bestaudio/best CONFIG ''; }); |