Open Fabian42 opened 2 years ago
Give all files the same temporary file name at first and then rename to "$(yt-dlp -o "%(uploader).31s_-_%(title).63s" --restrict-filenames --get-filename $url | sed "s/[\\%\\+\\=\\@\\~\\.]//g;s/(.)/\\l\\1/g")_$(yt-dlp -o "%(id)s.%(ext)s" --get-filename $url)"
in --exec
. Because the ID is different, this will not result in any conflicts. IDs can contain uppercase characters, but that's better than having wrong IDs, it should not normally cause conflicts anyway.
no/only num arg:
-P $HOME/Downloads https://www.youtube.com/playlist?list=$wl_id $1
-P $drive/t http://youtube.com/playlist?list=$tm_id $1
without -m:
-f "bv*[height<=?1080]+ba/b[height<=?1080]/22/18" --check-formats --sub-lang "ja,ja-JP,de,de-DE,en-US,en,en-GB" --embed-subs --recode-video mp4 --ppa "VideoConvertor:-crf 1"
with -m:
-f "ba/b" --check-formats -x --audio-format mp3 --audio-quality 0
announce lengths when expanding playlists and files
check how yt-dlp
behaves with channels, potentially add /videos
and/or use --playlist-reverse
A: downloads uploads, unknown reordered copy of uploads, all playlists
test videos with multiple perspectives, e.g. -B_tWbjFIGI
regex to check if ID could feasibly be from YT, SC, etc. before verifying online (speedup)
print title earlier, "DOWNLOAD" instead of time
If ID finds nothing, retry after first _
Change/add 2..4 syntax
allow script with var for file and folder
different sponsor block defaults per channel
romaji: hiragana, katakana, jisho.org kanji, korean, etc.
subtitles FoxReplace
check translated title
auto-apply equaliser (TTGD), normalisation (SL stream), …
dearrow
anti caps
Complete rewrite of the
dl
function, triggered by the switch from youtube-dl to yt-dlp. Many more features and complex argument options. Documentation indl --help
.Todos afterwards: Remove temporary
dlp
alias anddl
-specific variables from.bashrc
, remove WIP remark from help.