diff --git a/src/components/playback/playbackmanager.js b/src/components/playback/playbackmanager.js index 2e2aef986d..cf8cf41c29 100644 --- a/src/components/playback/playbackmanager.js +++ b/src/components/playback/playbackmanager.js @@ -1775,6 +1775,8 @@ class PlaybackManager { } function translateItemsForPlayback(items, options) { + if (!items.length) return Promise.resolve([]); + if (items.length > 1 && options && options.ids) { // Use the original request id array for sorting the result in the proper order items.sort(function (a, b) {