diff options
author | nicoo <nicoo@mur.at> | 2023-12-13 00:29:33 +0000 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2023-12-31 10:23:08 +0000 |
commit | 15295367cb8bf76bfb79d0769f3decb00b0b036e (patch) | |
tree | 2d2258f550c347b7218d9dfd7df57b9d87a679c0 /pkgs/applications/video/mpv/scripts/reload.nix | |
parent | 508d5ce83fc54d03772028a7d13c451a9069a918 (diff) |
mpvScripts.reload: init at `unstable-2022-01-27`
Diffstat (limited to 'pkgs/applications/video/mpv/scripts/reload.nix')
-rw-r--r-- | pkgs/applications/video/mpv/scripts/reload.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/video/mpv/scripts/reload.nix b/pkgs/applications/video/mpv/scripts/reload.nix new file mode 100644 index 0000000000000..6f316e2f5d42a --- /dev/null +++ b/pkgs/applications/video/mpv/scripts/reload.nix @@ -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 ]; + }; +} |