diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-09-26 02:19:22 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-09-26 02:19:22 -0700 |
commit | bb2a25c3e7c4c0d60a00770fb969957ccb123b35 (patch) | |
tree | f1a6282cf0db57d8c498da175719cc1f553283f6 /home/xyz/.config/yt-dlp | |
parent | c04219410d8848c6638b5ae126a2be4880a39d40 (diff) |
I choose to use `--trim-filenames 54` locally at mpvy instead of globally in .config dir. Because some Scott Buckley music has some long name but does not exceed limit, for backward compatibility reason I do not want to change.
Diffstat (limited to 'home/xyz/.config/yt-dlp')
-rw-r--r-- | home/xyz/.config/yt-dlp/config | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/home/xyz/.config/yt-dlp/config b/home/xyz/.config/yt-dlp/config index 3057a94e..4ed6c4a7 100644 --- a/home/xyz/.config/yt-dlp/config +++ b/home/xyz/.config/yt-dlp/config @@ -9,9 +9,3 @@ # 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 -# yt-dlp and aria2c will add about max 38 chars behind video name, for example: ' [EXF4g-2jOJo].f616.mp4.part.frag.urls' -# I choose a safety factor of 2 for max chars added -# (255-38*2)/4==44 ---trim-filenames 44 |