2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
unstableGitUpdater,
|
|
|
|
buildLua,
|
|
|
|
}:
|
2024-01-13 08:15:51 +00:00
|
|
|
|
|
|
|
buildLua rec {
|
|
|
|
pname = "mpv-reload";
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0-unstable-2024-03-22";
|
2024-01-13 08:15:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "4e6";
|
2024-05-15 15:35:15 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "1a6a9383ba1774708fddbd976e7a9b72c3eec938";
|
|
|
|
hash = "sha256-BshxCjec/UNGyiC0/g1Rai2NvG2qOIHXDDEUYwwdij0=";
|
2024-01-13 08:15:51 +00:00
|
|
|
};
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
2024-01-13 08:15:51 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|