mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
mediaplayer: stay within search-results
This commit is contained in:
parent
1534b7cb55
commit
9bc4c5d2e6
|
@ -3683,7 +3683,7 @@ var mpui = (function () {
|
||||||
var oi = mp.order.indexOf(mp.au.tid) + 1,
|
var oi = mp.order.indexOf(mp.au.tid) + 1,
|
||||||
evp = get_evpath();
|
evp = get_evpath();
|
||||||
|
|
||||||
if (mpl.pb_mode == 'loop' || mp.au.evp != evp)
|
if (mpl.pb_mode == 'loop' || mp.au.evp != evp || ebi('unsearch'))
|
||||||
oi = 0;
|
oi = 0;
|
||||||
|
|
||||||
if (oi >= mp.order.length) {
|
if (oi >= mp.order.length) {
|
||||||
|
|
Loading…
Reference in a new issue