mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2026-02-09 21:24:06 +00:00
Selecting "Next Index" on a track may cause an exception #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mnadareski on GitHub (Jun 5, 2021).
Originally assigned to: @mnadareski on GitHub.
Without the "Index navigation can change track" setting enabled, if you click "Next Index" on a track where you are on the last index of the track, it will throw an exception:
For example, the above was generated when playing a track with only indices 0 and 1, playing index 1, and then attempting to hit "Next Index". The fix for this is to enable earlier boundary checking. If the setting mentioned above is enabled, this should go to the next track, otherwise, the button should do nothing.
@mnadareski commented on GitHub (Jun 5, 2021):
There is also a similar, related issue that happens if you press "Previous Index" at the first index of a track.