mpvScripts.quack: init at unstable-2020-05-26

honk~
This commit is contained in:
nicoo 2023-12-13 00:06:28 +00:00
parent 508d5ce83f
commit 98fe96ab96
2 changed files with 32 additions and 0 deletions

View File

@ -72,6 +72,7 @@ let
mpv-playlistmanager = callPackage ./mpv-playlistmanager.nix { };
mpv-webm = callPackage ./mpv-webm.nix { };
mpvacious = callPackage ./mpvacious.nix { };
quack = callPackage ./quack.nix { };
quality-menu = callPackage ./quality-menu.nix { };
simple-mpv-webui = callPackage ./simple-mpv-webui.nix { };
sponsorblock = callPackage ./sponsorblock.nix { };

View File

@ -0,0 +1,31 @@
{ lib
, fetchFromGitHub
, unstableGitUpdater
, buildLua }:
buildLua rec {
pname = "mpv-quack";
version = "unstable-2020-05-26";
src = fetchFromGitHub {
owner = "CounterPillow";
repo = pname;
rev = "1c87f36f9726d462dd112188c04be54d85692cf3";
hash = "sha256-dEnJbS8RJoAxpKINdoMHN4l7vpEdf7+C5JVWpK0VXMw=";
};
passthru.updateScript = unstableGitUpdater {};
meta = {
description = "Reduce audio volume after seeking";
longDescription = ''
quack is an mpv script to temporarily reduce the volume after a seek,
in order to avoid loud noises when scrubbing through a movie.
The volume is linearly increased back up to its original level.
Repeated seeks before the transition is done work as well.
'';
homepage = "https://github.com/CounterPillow/quack";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ nicoo ];
};
}