Merge pull request #4172 from ByteHamster/fix-wrong-enqueue

Fixed enqueueing wrong items on playback
This commit is contained in:
H. Lehmann 2020-05-20 14:57:20 +02:00 committed by GitHub
commit dd02b4b5cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1731,7 +1731,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);
}
}