various unimportant changes

This commit is contained in:
Ingolf Wagner 2023-09-08 09:46:41 +02:00
parent a40df14732
commit 2639ac3cf7
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 32 additions and 2 deletions

View file

@ -49,6 +49,7 @@
#./kiosk.nix #./kiosk.nix
./trilium.nix ./trilium.nix
./gitea.nix ./gitea.nix
#./atuin.nix
./cache.nix ./cache.nix

View file

@ -51,6 +51,16 @@ let
target = "/media/youtube/series/Sunk Cost Galaxy"; target = "/media/youtube/series/Sunk Cost Galaxy";
output = "Sunk Cost Galaxy S01E%(playlist_index)s %(title)s.%(ext)s"; output = "Sunk Cost Galaxy S01E%(playlist_index)s %(title)s.%(ext)s";
}; };
BigLez = {
url = "https://www.youtube.com/watch?list=PLGMC7oz7XpmCR1RWxqvFWvXVO_ry6FdHI";
target = "/media/youtube/series/Big Lez";
output = "Big Lez S01E%(playlist_index)s %(title)s.%(ext)s";
};
Sassy = {
url = "https://www.youtube.com/watch?v=Dw_tGRblTXk";
target = "/media/youtube/series/Big Lez";
output = "Big Lez S02E01 %(title)s.%(ext)s";
};
# channels # channels
# -------- # --------
@ -145,6 +155,11 @@ let
target = "/media/youtube/loot"; target = "/media/youtube/loot";
output = "%(title)s.%(ext)s"; output = "%(title)s.%(ext)s";
}; };
FridayVideos = {
url = "https://www.youtube.com/playlist?list=PLP33x-q_GftbqHBybHABOwsRcUX7XZl_D";
target = "/media/youtube/loot";
output = "%(title)s.%(ext)s";
};
}; };
downloadScript = downloadScript =
@ -154,6 +169,7 @@ let
, sponsorBlockCategories ? [ "default" ] , sponsorBlockCategories ? [ "default" ]
, notOlderThan ? "" # e.g: 1week , notOlderThan ? "" # e.g: 1week
, breakOnExisting ? true , breakOnExisting ? true
, reverse ? false
}: pkgs.writers.writeDash "download-script-${name}" '' }: pkgs.writers.writeDash "download-script-${name}" ''
mkdir -p "${target}" mkdir -p "${target}"
yt-dlp \ yt-dlp \
@ -161,7 +177,7 @@ let
--no-mark-watched \ --no-mark-watched \
--continue \ --continue \
${optionalString (notOlderThan != "") "--dateafter now-${notOlderThan}" } \ ${optionalString (notOlderThan != "") "--dateafter now-${notOlderThan}" } \
--playlist-reverse \ ${optionalString reverse "--playlist-reverse" } \
--download-archive "${target}/.downloaded.txt" \ --download-archive "${target}/.downloaded.txt" \
--output "${target}/${output}" \ --output "${target}/${output}" \
--format "bestvideo[ext=mp4]+bestaudio[ext=m4a]" \ --format "bestvideo[ext=mp4]+bestaudio[ext=m4a]" \

View file

@ -82,7 +82,19 @@ in
#fractal #fractal
#legacy_2205.mirage-im #legacy_2205.mirage-im
#cinny-desktop #cinny-desktop
fluffychat #fluffychat
#(fluffychat.overrideAttrs
# (old: rec {
# version = "1.13.0";
# src = fetchFromGitHub {
# owner = "krille-chan";
# repo = "fluffychat";
# rev = "v${version}";
# hash = "sha256-w29Nxs/d0b18jMvWnrRUjEGqY4jGtuEGodg+ncCAaVc=";
# };
# vendorHash = "";
# })
#)
tor-browser-bundle-bin tor-browser-bundle-bin
#(tor-browser-bundle-bin.overrideAttrs (old: rec { #(tor-browser-bundle-bin.overrideAttrs (old: rec {

View file

@ -0,0 +1 @@