diff options
author | ByteHamster <info@bytehamster.com> | 2020-05-20 09:53:02 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-05-20 09:53:02 +0200 |
commit | 1ee1a7458aa47c10ea0054909bac36726318f4e2 (patch) | |
tree | 8ae1b1f88fd3e64a1ea8f758f185de3b236862e4 /core | |
parent | 62fc413f9c626f4e749d2aa9c4e2e0b7225b16cb (diff) | |
download | AntennaPod-1ee1a7458aa47c10ea0054909bac36726318f4e2.zip |
Fixed enqueueing wrong items on playback
Diffstat (limited to 'core')
-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 a83e50506..193fd4944 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 @@ -1720,7 +1720,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { private void addPlayableToQueue(Playable playable) { if (playable instanceof FeedMedia) { - long itemId = ((FeedMedia) playable).getId(); + long itemId = ((FeedMedia) playable).getItem().getId(); DBWriter.addQueueItem(this, false, false, itemId); } } |