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
--- /dev/null
+# 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"