From: Simon Ruderich Date: Wed, 19 Apr 2023 05:44:33 +0000 (+0200) Subject: multimedia: add yt-dlp configuration X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c2c0dc4c140a7510c0ee4cea2e2e859636722d21;p=config%2Fdotfiles.git multimedia: add yt-dlp configuration --- diff --git a/multimedia/setup.sh b/multimedia/setup.sh index 016f497..6678347 100755 --- a/multimedia/setup.sh +++ b/multimedia/setup.sh @@ -62,6 +62,10 @@ if installed handbrake; then link handbrake ~/.config/ghb fi +if installed yt-dlp; then + link yt-dlp ~/.config/yt-dlp +fi + if installed pipewire; then link pipewire ~/.config/pipewire fi diff --git a/multimedia/yt-dlp/config b/multimedia/yt-dlp/config new file mode 100644 index 0000000..92012b4 --- /dev/null +++ b/multimedia/yt-dlp/config @@ -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"