1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 22:00:28 +05:30

fix: local playlists can't be auto-played

This commit is contained in:
Vlad Ardelean 2024-01-24 18:55:44 +02:00 committed by GitHub
parent d2dfb2e37a
commit 5bfbd5afa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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++)