1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-01-27 07:46:09 +01:00

Always call prepare before starting playback,

otherwise resuming playback is difficult when the session was dismissed...
This commit is contained in:
tzugen 2022-05-30 16:24:24 +02:00
parent 669b51c0d2
commit 608f86ac5f
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930

View File

@ -283,6 +283,7 @@ class MediaPlayerController(
if (jukeboxMediaPlayer.isEnabled) {
jukeboxMediaPlayer.start()
} else {
controller?.prepare()
controller?.play()
}
}