From f3c37c24987f193df792bb1fd5aaae25542dc090 Mon Sep 17 00:00:00 2001 From: MasterAcnolo <68693319+MasterAcnolo@users.noreply.github.com> Date: Sun, 12 Apr 2026 18:13:38 +0200 Subject: [PATCH] Feat: Add createPlaylistFolders feature to organize downloads into dedicated folders with toggle settings --- app/ipcHandlers.js | 3 +- config/config.default.json | 1 + public/index.html | 8 +++ public/script/fetchinfo.js | 15 +++++ server/controller/download.controller.js | 1 + server/services/download.services.js | 85 +++++++++++++++++++++++- 6 files changed, 111 insertions(+), 2 deletions(-) diff --git a/app/ipcHandlers.js b/app/ipcHandlers.js index f4a3f4c..e2f8364 100644 --- a/app/ipcHandlers.js +++ b/app/ipcHandlers.js @@ -17,7 +17,8 @@ const FEATURE_WHITELIST = new Set([ "verboseLogs", "autoDownloadPlaylist", "customCodec", - "theme" + "theme", + "createPlaylistFolders" ]); const configFolderPath = featuresPath; diff --git a/config/config.default.json b/config/config.default.json index 328a2b4..7b68c4c 100644 --- a/config/config.default.json +++ b/config/config.default.json @@ -7,6 +7,7 @@ "addMetadata": true, "verboseLogs": false, "autoDownloadPlaylist": true, + "createPlaylistFolders": true, "customCodec": "h264", "logSystem": true, "outputTitleCheck": true, diff --git a/public/index.html b/public/index.html index 181659d..82becc3 100644 --- a/public/index.html +++ b/public/index.html @@ -88,6 +88,14 @@ +
+ +
+ Create Playlist Folders + Create a dedicated folder for each playlist with its name. +
+
+