From d7d3fc97e8e1af557c069f12cad474c3a62d3d2e Mon Sep 17 00:00:00 2001 From: icxes Date: Mon, 30 Mar 2026 15:57:13 +0300 Subject: [PATCH] fix playback order when re-sorting filelist --- 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..d7171ebe 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)); + var trackid = tid.slice(1); + if (r.tracks[trackid]) + order.push(trackid); } r.order = order; r.shuffle();