Fixes Queue transition from playing local to streaming

This commit is contained in:
Martin Fietz 2015-06-21 16:28:29 +02:00
parent e1b494ba05
commit 978eadbc16
1 changed files with 1 additions and 1 deletions

View File

@ -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);