about summary refs log tree commit diff
path: root/nix/profiles/home-manager/media.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-08 14:59:03 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-08 15:36:32 -0800
commit48ea2837adff1483d6d5e8dd6f65611914ddda88 (patch)
tree8adb236371b1b3db63d450bb98b583b5d0f67cc6 /nix/profiles/home-manager/media.nix
parentrefactor overall configuration (diff)
downloadworld-48ea2837adff1483d6d5e8dd6f65611914ddda88.tar.gz
more refactoring
Diffstat (limited to '')
-rw-r--r--nix/profiles/home-manager/media.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/nix/profiles/home-manager/media.nix b/nix/profiles/home-manager/media.nix
deleted file mode 100644
index d3351fa..0000000
--- a/nix/profiles/home-manager/media.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ ... }: {
-  programs.yt-dlp = {
-    enable = true;
-
-    extraConfig = ''
-      # Do not overwrite files
-      --no-overwrites
-
-      # Add metadata to the video files
-      --add-metadata
-
-      # Write video description to a .description file
-      --write-description
-
-      # Restrict filenames to only ASCII characters, and avoid "&" and spaces in filenames
-      --restrict-filenames
-
-      # Select the best audio quality (when extracting audio with -x/--extract-audio)
-      --audio-quality 0
-
-      # Save videos under "~/Movies/WebsiteName/" with the filename "VideoTitle---FormatNote-VideoId.VideoExtension"
-      --output "~/Movies/%(extractor_key)s/%(title)s---%(format_note)s-%(id)s.%(ext)s"
-
-      # Download subtitles for English and French
-      --sub-langs en,fr
-
-      # Embed subtitles in the video (only possible with mp4, webm and mkv files)
-      --embed-subs
-
-      # Download with the best resolution and if possible, in the video format mp4 and audio format m4a.
-      # If the video format isn't mp4 already, it will be converted to mp4
-      --format-sort res,ext:mp4:m4a --recode mp4
-    '';
-  };
-}