mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-03-15 04:57:00 +00:00
Fix for API retrieved playlists bug introduced in #3357
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user