-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fix: Adding tracks to playlist while in search
When adding tracks to the playlist, clear the search filter first, so the playlist doesn't become all jumbled, or so we don't overflow the playlist indexes. Also add some bug fixes for reversing the arranged to disarranged index lists, so if an arranged index is past the end of the arranged list, as is the case for appending, we shift the indexes forward past the end of the diarranged object list. Extra exception handling was added as well, so these things will only cause a failure to add playlist items at worst, instead of crashing the player entirely. Signed-off-by: Christopher Snowhill <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters