mergehez / ArgPlayer

An android music player library
Apache License 2.0
70 stars 23 forks source link

Skip-Forward button after loadPlaylist() throws an error #13

Open GhostInTheSteiner opened 2 years ago

GhostInTheSteiner commented 2 years ago

If I use .loadPlaylist() without calling .playLoadedPlaylist() right after, ArgPlayer throws an Exception upon (manually) pressing the Play-button and skipping to the next track:

image

You can check out the complete code in my most recent commit on Composition Compass:

SHA-1: 03f81fac44ca5cc52a1af263a9be257e958405c0

* Player WIP; still broken due to usage of loadPlaylist instead of playLoadedPlaylist

IMO .playLoadedPlaylist() should not be required, and only be used if you want to programmatically start a playback of the playlist. That's why I see this behavior as a bug.