]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - multimedia/yt-dlp/config
multimedia: add yt-dlp configuration
[config/dotfiles.git] / multimedia / yt-dlp / config
diff --git a/multimedia/yt-dlp/config b/multimedia/yt-dlp/config
new file mode 100644 (file)
index 0000000..92012b4
--- /dev/null
@@ -0,0 +1,17 @@
+# Default options for yt-dlp
+
+# SPDX-License-Identifier: GPL-3.0-or-later
+# Copyright (C) 2023  Simon Ruderich
+
+
+--no-overwrites
+
+--write-subs
+
+--embed-subs
+--embed-chapters
+
+# If part of a playlist then prefix with playlist name and index of video for
+# proper sorting; add release date or upload date (also stored as mtime but it
+# might get modified during file transfers); otherwise use default template
+--output "%(playlist|)s%(playlist& - |)s%(playlist_index|)02d%(playlist& |)s%(title)s [%(id)s %(release_date,upload_date)s].%(ext)s"