1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(mpv): add youtube (auto) subtitles

This commit is contained in:
2021-07-15 07:34:12 +02:00
parent cf2c0c7a37
commit 2201b192fd

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }: let
{ pkgs, lib, ... }: let
swallow = command: "${pkgs.scripts.swallow}/bin/swallow ${command}";
nixpkgs-unstable = import <nixpkgs-unstable> { config.allowUnfree = true; };
in {
@@ -10,6 +10,7 @@ in {
config = {
ytdl-format = "bestvideo+bestaudio/best";
osc = "no";
ytdl-raw-options= lib.concatStringsSep "," [ ''sub-lang="de,en"'' "write-sub=" "write-auto-sub=" ];
};
bindings = {
"Alt+RIGHT" = "add video-rotate 90";