mirror of
https://github.com/9001/copyparty.git
synced 2026-04-12 23:32:32 -06:00
fix playlist error on re-sorted filelists (#1403)
m3u files would get added (not good)
This commit is contained in:
parent
5aaa4ff15b
commit
198f631ac8
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue