mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-15 06:40:28 +05:30
fix: local playlists can't be auto-played
This commit is contained in:
parent
d2dfb2e37a
commit
5bfbd5afa0
@ -510,9 +510,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async getPlaylistData() {
|
async getPlaylistData() {
|
||||||
if (this.playlistId) {
|
if (this.playlistId) {
|
||||||
await this.fetchJson(this.apiUrl() + "/playlists/" + this.playlistId).then(data => {
|
this.playlist = await this.getPlaylist(this.playlistId);
|
||||||
this.playlist = data;
|
|
||||||
});
|
|
||||||
await this.fetchPlaylistPages().then(() => {
|
await this.fetchPlaylistPages().then(() => {
|
||||||
if (!(this.index >= 0)) {
|
if (!(this.index >= 0)) {
|
||||||
for (let i = 0; i < this.playlist.relatedStreams.length; i++)
|
for (let i = 0; i < this.playlist.relatedStreams.length; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user