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
* Replace youtube-dl with yt-dlp in qndl
* Replace youtube-dl with yt-dlp in dmenuhandler
* Replace youtube-dl with yt-dlp in newsboat config
* Replace youtube-dl with yt-dlp in aliasrc
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
* add scripts to mpv's cfg \w mpvSockets as 1st dependency and\or script
* remove all usage of --input-ipc-server in all cmds
* remove mpv alias that adds --input-ipc-server
* fix pauseallmpv: correct paths to unix socket files
* fix dependency-scripts loading so it works also when opening files off main disk