Post #3991732
2026-07-21 17:38 UTC
I didn’t get my music from yt-dlp. and even if the source title contains special chars, yt-dlp uses chars that look the same but aren’t.
Replies (1)
-
@thingsiplay@lemmy.ml 2026-07-21 18:43
yt-dlp has an option to rename downloaded files to restrict to ASCII characters (and another option to restrict filename length). I usually use my own wrapper script around yt-dlp, but I guess you already have your own. So for that, you can use the option –restrict-filenames to “Restrict filenames to only ASCII characters, and avoid “&” and spaces in filenames”. See all options with man yt-dlp. Try it out.