mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Playlist Viewer Track Info: Fix displayed index
Index was incorrect for shuffled playlists Change-Id: I72f7c07ddd1e6b6815e245ba775bd3aeba8fa5b2
This commit is contained in:
parent
f377ad3ce7
commit
9c79a4449a
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ static enum pv_onplay_result show_track_info(const struct playlist_entry *curren
|
||||||
}
|
}
|
||||||
|
|
||||||
return id3_retrieval_successful &&
|
return id3_retrieval_successful &&
|
||||||
browse_id3_ex(&id3, viewer.playlist, current_track->index + 1,
|
browse_id3_ex(&id3, viewer.playlist, current_track->display_index,
|
||||||
viewer.num_tracks, NULL, 1) ? PV_ONPLAY_USB : PV_ONPLAY_UNCHANGED;
|
viewer.num_tracks, NULL, 1) ? PV_ONPLAY_USB : PV_ONPLAY_UNCHANGED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue