diff options
author | ryan-c-dev <ryluv2surf@gmail.com> | 2022-09-19 16:50:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 23:50:45 +0000 |
commit | ae0ad289a10e0cd911489ce08f8d0fed6332d348 (patch) | |
tree | 5f0852e8cdeca6bb9b40b4434bdf73023e21c4bb /.local/bin/otp%3fid%3d7871fd80b29afa3fbab9bbecd6092b303b07c29f?id=ae0ad289a10e0cd911489ce08f8d0fed6332d348 | |
parent | 5d5e3b655ef01973419ac0def58123946b0d569a (diff) |
underscore vs spaces, and naming convention (#1189)
the title then extension format with the --restrict-filenames again for underscores instead of spaces.
Works typically well as music will have Artist name first usually followed by song title so no need to format.
haven't looked into the --embed-metadata parameter, only imagine it could be useful if it saves the url suffix for youtube link (which you don't want in your filename hopefully)
for my video downloads, i just use this.
alias ydl='yt-dlp -o '%(title)s.%(ext)s' -f bv+ba/b --restrict-filenames'
alias mp3='yt-dlp -o '%(title)s.%(ext)s' -f bestaudio -x --audio-format mp3 --embed-thumbnail --restrict-filenames'
Probably bad practice to have single quotes within more single quotes but ran into issues with yt-dlp over using double quotes.
-Ryan
Diffstat (limited to '.local/bin/otp%3fid%3d7871fd80b29afa3fbab9bbecd6092b303b07c29f?id=ae0ad289a10e0cd911489ce08f8d0fed6332d348')
0 files changed, 0 insertions, 0 deletions