fix playlist error on re-sorted filelists (#1403)

m3u files would get added (not good)
This commit is contained in:
exci 2026-03-31 22:02:11 +03:00 committed by GitHub
parent 5aaa4ff15b
commit 198f631ac8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1719,7 +1719,9 @@ function MPlayer() {
if (!tid || tid.indexOf('af-') !== 0) if (!tid || tid.indexOf('af-') !== 0)
continue; continue;
order.push(tid.slice(1)); tid = tid.slice(1);
if (r.tracks[tid])
order.push(tid);
} }
r.order = order; r.order = order;
r.shuffle(); r.shuffle();