mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-27 07:46:09 +01:00
Always call prepare on adding items
This commit is contained in:
parent
dda86b42c7
commit
d550eabf88
@ -50,7 +50,6 @@ import org.moire.ultrasonic.data.ServerSettingDao
|
||||
import org.moire.ultrasonic.fragment.OnBackPressedHandler
|
||||
import org.moire.ultrasonic.model.ServerSettingsModel
|
||||
import org.moire.ultrasonic.provider.SearchSuggestionProvider
|
||||
import org.moire.ultrasonic.service.DownloadFile
|
||||
import org.moire.ultrasonic.service.MediaPlayerController
|
||||
import org.moire.ultrasonic.service.MediaPlayerLifecycleSupport
|
||||
import org.moire.ultrasonic.service.RxBus
|
||||
|
@ -343,8 +343,9 @@ class MediaPlayerController(
|
||||
|
||||
if (shuffle) isShufflePlayEnabled = true
|
||||
|
||||
prepare()
|
||||
|
||||
if (autoPlay) {
|
||||
prepare()
|
||||
play(0)
|
||||
} else {
|
||||
downloader.checkDownloads()
|
||||
|
Loading…
x
Reference in New Issue
Block a user