mirror of
https://github.com/kmein/niveum
synced 2026-03-19 11:31:09 +01:00
feat(mpv): add youtube (auto) subtitles
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }: let
|
{ pkgs, lib, ... }: let
|
||||||
swallow = command: "${pkgs.scripts.swallow}/bin/swallow ${command}";
|
swallow = command: "${pkgs.scripts.swallow}/bin/swallow ${command}";
|
||||||
nixpkgs-unstable = import <nixpkgs-unstable> { config.allowUnfree = true; };
|
nixpkgs-unstable = import <nixpkgs-unstable> { config.allowUnfree = true; };
|
||||||
in {
|
in {
|
||||||
@@ -10,6 +10,7 @@ in {
|
|||||||
config = {
|
config = {
|
||||||
ytdl-format = "bestvideo+bestaudio/best";
|
ytdl-format = "bestvideo+bestaudio/best";
|
||||||
osc = "no";
|
osc = "no";
|
||||||
|
ytdl-raw-options= lib.concatStringsSep "," [ ''sub-lang="de,en"'' "write-sub=" "write-auto-sub=" ];
|
||||||
};
|
};
|
||||||
bindings = {
|
bindings = {
|
||||||
"Alt+RIGHT" = "add video-rotate 90";
|
"Alt+RIGHT" = "add video-rotate 90";
|
||||||
|
|||||||
Reference in New Issue
Block a user