This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.mpv: use nixpkgs yt-dlp instead of yt-dlp-master

+2 -5
+2 -5
tools/mpv/flake-module.nix
··· 1 1 { self, ... }: 2 2 { 3 3 perSystem = 4 - { pkgs, system, ... }: 4 + { pkgs, ... }: 5 5 { 6 6 packages.mpv = 7 - let 8 - yt-dlp-master = self.packages.${system}.yt-dlp-master; 9 - in 10 7 let 11 8 # Lazy-loaded autosub script 12 9 autosub = pkgs.writeText "autosub.lua" '' ··· 59 56 ]; 60 57 extraFlags = { 61 58 "--ytdl-format" = "bestvideo[height<=1080]+bestaudio/best"; 62 - "--script-opts" = "ytdl_hook-ytdl_path=${yt-dlp-master}/bin/yt-dlp"; 59 + "--script-opts" = "ytdl_hook-ytdl_path=${pkgs.yt-dlp}/bin/yt-dlp"; 63 60 "--script-opts-append" = "sponsorblock-local_database=no"; 64 61 "--audio-channels" = "2"; 65 62 "--script" = autosub;