diff options
author | Tom Hennen <TomHennen@users.noreply.github.com> | 2015-06-21 13:29:56 -0400 |
---|---|---|
committer | Tom Hennen <TomHennen@users.noreply.github.com> | 2015-06-21 13:29:56 -0400 |
commit | 1a460979183b26a0474c129d5aa27d0e6b796e1c (patch) | |
tree | a76869f37ec2925b4a2a87bf6da4aa05423f6a81 | |
parent | f13e2ed20d4ff52ff3c47aac64d6b550c2f5a93a (diff) | |
parent | 978eadbc16a3a5fd675994796f0af84459af413a (diff) | |
download | AntennaPod-1a460979183b26a0474c129d5aa27d0e6b796e1c.zip |
Merge pull request #931 from mfietz/issue/928
Fixes Queue transition from playing local to streaming
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 3f6769ee4..43a91933c 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -634,7 +634,7 @@ public class PlaybackService extends Service { writePlaybackPreferencesNoMediaPlaying(); if (nextMedia != null) { - stream = !playable.localFileAvailable(); + stream = !nextMedia.localFileAvailable(); mediaPlayer.playMediaObject(nextMedia, stream, startWhenPrepared, prepareImmediately); sendNotificationBroadcast(NOTIFICATION_TYPE_RELOAD, (nextMedia.getMediaType() == MediaType.VIDEO) ? EXTRA_CODE_VIDEO : EXTRA_CODE_AUDIO); |