feat: Keep Playlist Order features. Add index before title if it's a playlist and we activate this feature.

This commit is contained in:
MasterAcnolo
2026-08-05 21:52:14 +02:00
committed by MasterAcnolo
parent bbb0b58d17
commit e09f1a8913
5 changed files with 31 additions and 3 deletions

View File

@@ -175,7 +175,12 @@ function fetchDownload(options, listeners, speedListeners, stageListeners, playl
logger.info(`Playlist detected but createPlaylistFolders is disabled, using base folder`);
}
const args = buildYtDlpArgs({ ...options, outputFolder: safeOutputFolder });
const args = buildYtDlpArgs({
...options,
outputFolder: safeOutputFolder,
isPlaylist
});
logger.info(`[yt-dlp args] ${args.join(" ")}`);
const child = execFile(userYtDlp, args);