reset nextMediaPlayer when item has changed

This commit is contained in:
Florian Renaud 2022-11-04 18:36:37 +01:00
parent a3cd861e15
commit a320155546

View File

@ -298,6 +298,7 @@ class VoiceBroadcastPlayerImpl @Inject constructor(
MediaPlayer.MEDIA_INFO_STARTED_AS_NEXT -> {
playlist.currentSequence++
currentMediaPlayer = mp
nextMediaPlayer = null
prepareNextMediaPlayer()
}
}