summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hennen <TomHennen@users.noreply.github.com>2015-06-21 13:29:56 -0400
committerTom Hennen <TomHennen@users.noreply.github.com>2015-06-21 13:29:56 -0400
commit1a460979183b26a0474c129d5aa27d0e6b796e1c (patch)
treea76869f37ec2925b4a2a87bf6da4aa05423f6a81
parentf13e2ed20d4ff52ff3c47aac64d6b550c2f5a93a (diff)
parent978eadbc16a3a5fd675994796f0af84459af413a (diff)
downloadAntennaPod-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.java2
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);