From c11ecd3323e3781eed00875049e269b825499c3f Mon Sep 17 00:00:00 2001 From: TC Date: Thu, 29 Apr 2021 22:57:12 +0200 Subject: [PATCH] Set max file length to 255 in downloader --- plugins/downloader/youtube-dl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/downloader/youtube-dl.js b/plugins/downloader/youtube-dl.js index 4fb8ac75..1ebe0a06 100644 --- a/plugins/downloader/youtube-dl.js +++ b/plugins/downloader/youtube-dl.js @@ -126,6 +126,7 @@ const toMP3 = async ( : videoName; const filename = filenamify(name + "." + extension, { replacement: "_", + maxLength: 255, }); const filePath = join(folder, subfolder, filename);