Merge pull request #273859 from nbraud/mpvScripts/reload
mpvScripts.reload: init at `unstable-2022-01-27`
This commit is contained in:
commit
95eb67cecc
@ -74,6 +74,7 @@ let
|
||||
mpvacious = callPackage ./mpvacious.nix { };
|
||||
quack = callPackage ./quack.nix { };
|
||||
quality-menu = callPackage ./quality-menu.nix { };
|
||||
reload = callPackage ./reload.nix { };
|
||||
simple-mpv-webui = callPackage ./simple-mpv-webui.nix { };
|
||||
sponsorblock = callPackage ./sponsorblock.nix { };
|
||||
sponsorblock-minimal = callPackage ./sponsorblock-minimal.nix { };
|
||||
|
29
pkgs/applications/video/mpv/scripts/reload.nix
Normal file
29
pkgs/applications/video/mpv/scripts/reload.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, unstableGitUpdater
|
||||
, buildLua }:
|
||||
|
||||
buildLua rec {
|
||||
pname = "mpv-reload";
|
||||
|
||||
version = "unstable-2023-12-19";
|
||||
src = fetchFromGitHub {
|
||||
owner = "4e6";
|
||||
repo = pname;
|
||||
rev = "133d596f6d369f320b4595bbed1f4a157b7b9ee5";
|
||||
hash = "sha256-B+4TCmf1T7MuwtbL+hGZoN1ktI31hnO5yayMG1zW8Ng=";
|
||||
};
|
||||
passthru.updateScript = unstableGitUpdater {};
|
||||
|
||||
meta = {
|
||||
description = "Manual & automatic reloading of videos";
|
||||
longDescription = ''
|
||||
This script adds reloading of videos, automatically on timers (when stuck
|
||||
buffering etc.) or manually on keybinds, to help with cases where a stream
|
||||
is not loading further due to a network or remote issue.
|
||||
'';
|
||||
homepage = "https://github.com/4e6/mpv-reload";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ nicoo ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user