From 198f631ac80adc33a8f072d598ff0cd1aa2b5abd Mon Sep 17 00:00:00 2001 From: exci <76759714+icxes@users.noreply.github.com> Date: Tue, 31 Mar 2026 22:02:11 +0300 Subject: [PATCH] fix playlist error on re-sorted filelists (#1403) m3u files would get added (not good) --- copyparty/web/browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 72878b20..3f8255b9 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -1719,7 +1719,9 @@ function MPlayer() { if (!tid || tid.indexOf('af-') !== 0) continue; - order.push(tid.slice(1)); + tid = tid.slice(1); + if (r.tracks[tid]) + order.push(tid); } r.order = order; r.shuffle();