1
0
Fork 0
forked from len0rd/rockbox

playlist: Set playlist index after resuming

fixes current track selection
in Playlist Viewer when stopped

Change-Id: I3d1fa28a4bf2d631918e159a3fd8025c17979833
This commit is contained in:
Christian Soffke 2025-01-09 12:10:42 +01:00
parent fb26398622
commit 24c9ccfac0

View file

@ -3532,6 +3532,9 @@ int playlist_resume(void)
}
}
if (global_status.resume_index != -1)
playlist->index = global_status.resume_index;
out:
playlist_write_unlock(playlist);
dc_thread_start(playlist, true);