I have a playlist of tracks, I need to click on a track element to play it once, and not automatically skip to the next track. I tried to use ProcessingState.completed
but it only fires when the last track in the playlist ends. Is there a solution to this?
UPD
It is very important that the current playlist index is preserved. Since the state of the player buttons changes on ProcessingState.completed, it is inconvenient for me to have this method called if I play one track from the playlist.