Fix for API retrieved playlists bug introduced in #3357

This commit is contained in:
dadus33
2024-01-25 12:48:13 +02:00
parent 690467895d
commit 7000b56a13
2 changed files with 2 additions and 10 deletions

View File

@@ -359,7 +359,7 @@ const mixin = {
});
},
async getPlaylist(playlistId) {
if (!this.authenticated) {
if (playlistId.startsWith("local")) {
const playlist = await this.getLocalPlaylist(playlistId);
const videoIds = JSON.parse(playlist.videoIds);
const videosFuture = videoIds.map(videoId => this.getLocalPlaylistVideo(videoId));