Fixes Queue transition from playing local to streaming
This commit is contained in:
parent
e1b494ba05
commit
978eadbc16
|
@ -634,7 +634,7 @@ public class PlaybackService extends Service {
|
||||||
|
|
||||||
writePlaybackPreferencesNoMediaPlaying();
|
writePlaybackPreferencesNoMediaPlaying();
|
||||||
if (nextMedia != null) {
|
if (nextMedia != null) {
|
||||||
stream = !playable.localFileAvailable();
|
stream = !nextMedia.localFileAvailable();
|
||||||
mediaPlayer.playMediaObject(nextMedia, stream, startWhenPrepared, prepareImmediately);
|
mediaPlayer.playMediaObject(nextMedia, stream, startWhenPrepared, prepareImmediately);
|
||||||
sendNotificationBroadcast(NOTIFICATION_TYPE_RELOAD,
|
sendNotificationBroadcast(NOTIFICATION_TYPE_RELOAD,
|
||||||
(nextMedia.getMediaType() == MediaType.VIDEO) ? EXTRA_CODE_VIDEO : EXTRA_CODE_AUDIO);
|
(nextMedia.getMediaType() == MediaType.VIDEO) ? EXTRA_CODE_VIDEO : EXTRA_CODE_AUDIO);
|
||||||
|
|
Loading…
Reference in New Issue