From 8ed98a2c08a59a09a25cbe8c37beef8729b3e489 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 9 Oct 2023 23:36:23 -0700 Subject: update --- home/xyz/.config/yt-dlp/config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'home/xyz/.config/yt-dlp/config') diff --git a/home/xyz/.config/yt-dlp/config b/home/xyz/.config/yt-dlp/config index 4ed6c4a7..76049422 100644 --- a/home/xyz/.config/yt-dlp/config +++ b/home/xyz/.config/yt-dlp/config @@ -9,3 +9,9 @@ # manpage says yt-dlp use --sub-langs, youtube-dl use --sub-lang, but experiment shows yt-dlp also use --sub-lang --sub-lang zh-Hans,zh-CN,zh-Hant,zh-SG,zh-TW,zh-HK,en,en-US,en-GB + +# linux max filename length is 255 bytes, UTF-8 1 character max 4 byptes +# aria2c will add about max 24 chars behind video name, for example: '.f616.mp4.part.frag.urls' +# (255-24)/4=57 +# testing youtube videos: EXF4g-2jOJo +--trim-filenames 57 -- cgit v1.2.3-70-g09d2