diff options
Diffstat (limited to 'etc/yt-dlp')
-rw-r--r-- | etc/yt-dlp/config | 16 | ||||
-rw-r--r-- | etc/yt-dlp/config-music | 7 |
2 files changed, 23 insertions, 0 deletions
diff --git a/etc/yt-dlp/config b/etc/yt-dlp/config new file mode 100644 index 0000000..23171b9 --- /dev/null +++ b/etc/yt-dlp/config @@ -0,0 +1,16 @@ +--prefer-free-formats +# always use aria2 +--external-downloader aria2c +# format +--format bestvideo+bestaudio/best +# format definition +--format-sort "res:1080,fps:60,vcodec:av01" +# dl to ~vid +--paths ~/share/xdg/vid/ +--output %(uploader)s/%(title)s.%(ext)s +# english subs, no chat +--sub-langs "en.*,-live_chat" +# always merge into mkv +--merge-output-format mkv +# embed subtitles if they are to be written +--embed-subs diff --git a/etc/yt-dlp/config-music b/etc/yt-dlp/config-music new file mode 100644 index 0000000..b8109f8 --- /dev/null +++ b/etc/yt-dlp/config-music @@ -0,0 +1,7 @@ +# free formats +--prefer-free-formats +# only download audio stream +--format bestaudio +# dl to ~mus +--paths ~/share/xdg/mus +--output %(uploader_id,uploader,album_artist)s/%(release_year,release_date>%Y,upload_date>%Y|)s-%(album|singles)s/%(track_number,playlist_index|)02d%(track_number,playlist_index&-|)s%(track,title|title)s.%(ext)s |