mirror of
https://github.com/9001/copyparty.git
synced 2026-10-06 09:34:35 +01: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)
|
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user