···15 hash = "sha256-yrcTxqpLnOI1Tq3khhflO3wzhyeTPuvKifyH5/P57Ns=";
16 };
1718- passthru.scriptName = "quality-menu.lua";
19- scriptPath = if oscSupport then "*.lua" else passthru.scriptName;
2021 meta = with lib; {
22 description = "A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly";
···15 hash = "sha256-yrcTxqpLnOI1Tq3khhflO3wzhyeTPuvKifyH5/P57Ns=";
16 };
1718+ scriptPath = "quality-menu.lua";
19+ extraScripts = lib.optional oscSupport "quality-menu-osc.lua";
2021 meta = with lib; {
22 description = "A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly";
+3-1
pkgs/applications/video/mpv/scripts/thumbnail.nix
···15 postPatch = "patchShebangs concat_files.py";
16 dontBuild = false;
1718- scriptPath = "mpv_thumbnail_script_{client_osc,server}.lua";
001920 meta = with lib; {
21 description = "A lua script to show preview thumbnails in mpv's OSC seekbar";
···15 postPatch = "patchShebangs concat_files.py";
16 dontBuild = false;
1718+ scriptPath = "mpv_thumbnail_script_client_osc.lua";
19+ extraScripts = [ "mpv_thumbnail_script_server.lua" ];
20+ passthru.scriptName = "mpv_thumbnail_script_{client_osc,server}.lua";
2122 meta = with lib; {
23 description = "A lua script to show preview thumbnails in mpv's OSC seekbar";