mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 11:38:24 +00:00
mediaplayer: stay within search-results
This commit is contained in:
1 parent
1534b7cb55
commit
9bc4c5d2e6
1 file changed
+1
-1
@@ -3683,7 +3683,7 @@ var mpui = (function () {
|
||||
var oi = mp.order.indexOf(mp.au.tid) + 1,
|
||||
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;
|
||||
|
||||
if (oi >= mp.order.length) {
|
||||
|
||||
Reference in new issue
Block a user