From fc9485c49d66a6dd3f434cdf629fcce210724c6d Mon Sep 17 00:00:00 2001 From: gnattu Date: Sun, 22 Sep 2024 05:04:19 +0800 Subject: [PATCH] Remove more Promise.Resolve --- src/components/playback/playbackmanager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/playback/playbackmanager.js b/src/components/playback/playbackmanager.js index 5ea1d3440d..30842b1f77 100644 --- a/src/components/playback/playbackmanager.js +++ b/src/components/playback/playbackmanager.js @@ -417,9 +417,9 @@ async function getPlaybackInfo(player, apiClient, item, deviceProfile, mediaSour } if (item.PresetMediaSource) { - return Promise.resolve({ + return { MediaSources: [item.PresetMediaSource] - }); + }; } const itemId = item.Id;