mpv: Add sponsorblock

This commit is contained in:
Simon Bruder 2021-03-09 15:39:23 +01:00
parent 3a5568a136
commit 429144166d
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -156,6 +156,9 @@ in
# sub-delay for fixing 24 empty frames on blu-ray # sub-delay for fixing 24 empty frames on blu-ray
"Alt+z" = "add sub-delay -1"; "Alt+z" = "add sub-delay -1";
"Alt+Z" = "add sub-delay +1"; "Alt+Z" = "add sub-delay +1";
# sponsorblock: set segment boundaries
"alt+g" = "script-binding sponsorblock/set_segment";
}; };
profiles = profiles =
@ -219,7 +222,9 @@ in
scripts = [ scripts = [
pitchcontrol pitchcontrol
]; ] ++ (with pkgs.mpvScripts; [
sponsorblock
]);
}; };
# mpv-gallery-view is not compatible with home-managers script injection meachanism # mpv-gallery-view is not compatible with home-managers script injection meachanism