diff options
author | ensa <@> | 2023-08-06 16:37:30 -0700 |
---|---|---|
committer | ensa <@> | 2023-08-06 16:37:30 -0700 |
commit | 1ddfd9ba56511a4136dfe83e1f581ac52c79c0e9 (patch) | |
tree | 9940920dca61ab0ce2fd2dfe54d58f1c118313ed /etc/yt-dlp | |
parent | 75ee668954833ab6ba9287ed5eb16a9957edcac2 (diff) | |
download | cfg-master.tar.gz |
DEPENDENCIES.md: nixed. good riddance. i have no reason to think it was helpful and was a nightmare to update bin/ fcard: some tab changes. -z still broken fl: removed unnecessary lines from before flc's existence. flc: inherited IFS because of dmenu crap. tr -d to prevent pasting newlines. op: changed text/* to spawn a terminal. often op is invoked outside the terminal. shenv: looks at HOME_ETC for uniformity etc/ X11/xprofile: line for updating sfeed feeds aliasrc: colorizing lr ksh/kshrc: MANPATH extended to accommodate for user-specific packages, e.g python call_it_a_day updates packages and cleans the system, tracks how long that took mpv/mpv.conf: self-explanatory newsboat: not used anymore sfeedrc: new rss config, needs feed urls shrc: making room for sfeed, self-explanatory yt-dlp: mostly self-explanatory renaming new config for playlists, separate because you seemingly can't use directory markers in text substitution
Diffstat (limited to 'etc/yt-dlp')
-rw-r--r-- | etc/yt-dlp/config | 3 | ||||
-rw-r--r-- | etc/yt-dlp/config-music | 3 | ||||
-rw-r--r-- | etc/yt-dlp/config-playlist | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/etc/yt-dlp/config b/etc/yt-dlp/config index 23171b9..60a5c77 100644 --- a/etc/yt-dlp/config +++ b/etc/yt-dlp/config @@ -1,6 +1,5 @@ ---prefer-free-formats # always use aria2 ---external-downloader aria2c +--downloader aria2c # format --format bestvideo+bestaudio/best # format definition diff --git a/etc/yt-dlp/config-music b/etc/yt-dlp/config-music index b8109f8..a4be168 100644 --- a/etc/yt-dlp/config-music +++ b/etc/yt-dlp/config-music @@ -2,6 +2,9 @@ --prefer-free-formats # only download audio stream --format bestaudio +# fix dumb track names +--restrict-filenames # dl to ~mus --paths ~/share/xdg/mus +# coherent output format --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 diff --git a/etc/yt-dlp/config-playlist b/etc/yt-dlp/config-playlist new file mode 100644 index 0000000..528f5a3 --- /dev/null +++ b/etc/yt-dlp/config-playlist @@ -0,0 +1,4 @@ +# fix dumb track names +--restrict-filenames +# coherent output format +--output %(uploader)s/%(playlist_title)s/%(playlist_index)02d-s%(track,title|title)s.%(ext)s |