diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java index 9e3f0058e..949a718c6 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java @@ -59,6 +59,7 @@ public abstract class PlaybackController { private boolean released = false; private boolean initialized = false; private boolean eventsRegistered = false; + private long loadedFeedMedia = -1; private Disposable mediaLoader; @@ -380,7 +381,8 @@ public abstract class PlaybackController { } private void checkMediaInfoLoaded() { - if (!mediaInfoLoaded) { + if (!mediaInfoLoaded || loadedFeedMedia != PlaybackPreferences.getCurrentlyPlayingFeedMediaId()) { + loadedFeedMedia = PlaybackPreferences.getCurrentlyPlayingFeedMediaId(); loadMediaInfo(); } mediaInfoLoaded = true; |