diff --git a/src/plugins/syncPlay/core/QueueCore.js b/src/plugins/syncPlay/core/QueueCore.js index 721ed7403ad..d34f7788400 100644 --- a/src/plugins/syncPlay/core/QueueCore.js +++ b/src/plugins/syncPlay/core/QueueCore.js @@ -227,14 +227,14 @@ class QueueCore { const serverId = apiClient.serverInfo().Id; + this.scheduleReadyRequestOnPlaybackStart(apiClient, 'startPlayback'); + const playerWrapper = this.manager.getPlayerWrapper(); playerWrapper.localPlay({ ids: this.getPlaylistAsItemIds(), startPositionTicks: startPositionTicks, startIndex: this.getCurrentPlaylistIndex(), serverId: serverId - }).then(() => { - this.scheduleReadyRequestOnPlaybackStart(apiClient, 'startPlayback'); }).catch((error) => { console.error(error); toast(globalize.translate('MessageSyncPlayErrorMedia'));