mediaplayer: stay within search-results

This commit is contained in:
ed 2025-07-20 23:30:27 +02:00
parent 1534b7cb55
commit 9bc4c5d2e6

View file

@ -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) {