From 61c2b2898b0c18f09aa6ac5cbf915e8bcf08adab Mon Sep 17 00:00:00 2001 From: Aleksa Vuckovic Date: Thu, 13 Nov 2025 19:26:15 +0100 Subject: a --- src/utils/player.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/player.js b/src/utils/player.js index 44510d1..3c82fbf 100644 --- a/src/utils/player.js +++ b/src/utils/player.js @@ -33,7 +33,9 @@ async function downloadWithYtDlp(song, options = {}) { const ytdlp = spawn('yt-dlp', [ '--cookies', COOKIES_FILE, - '--format', 'bestaudio/best', + '--format', 'bestaudio[ext=m4a]/bestaudio', + '--external-downloader', 'aria2c', + '--external-downloader-args', '-x16 -s16 -k1M', '--output', '-', song.url, ]); -- cgit v1.2.3