From 5bfbd5afa0628e256aad856d55f9f2d9610f17a2 Mon Sep 17 00:00:00 2001 From: Vlad Ardelean Date: Wed, 24 Jan 2024 18:55:44 +0200 Subject: [PATCH] fix: local playlists can't be auto-played --- src/components/WatchVideo.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index 6883fa58..3a07df0c 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -510,9 +510,7 @@ export default { }, async getPlaylistData() { if (this.playlistId) { - await this.fetchJson(this.apiUrl() + "/playlists/" + this.playlistId).then(data => { - this.playlist = data; - }); + this.playlist = await this.getPlaylist(this.playlistId); await this.fetchPlaylistPages().then(() => { if (!(this.index >= 0)) { for (let i = 0; i < this.playlist.relatedStreams.length; i++)