Merge branch 'developer' of https://github.com/play-dl/play-dl into developer

This commit is contained in:
killer069
2021-12-15 12:21:37 +05:30
4 changed files with 131 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ export class SpotifyPlaylist {
this.tracksCount = Number(data.tracks.total);
const videos: SpotifyTrack[] = [];
data.tracks.items.forEach((v: any) => {
videos.push(new SpotifyTrack(v.track));
if(v.track) videos.push(new SpotifyTrack(v.track));
});
this.fetched_tracks = new Map();
this.fetched_tracks.set('1', videos);