mirror of
https://github.com/9001/copyparty.git
synced 2026-04-04 14:58:27 +10:00
fix playlist error on re-sorted filelists (#1403)
m3u files would get added (not good)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user