Skip to content

Commit

Permalink
fix yandex music playlists
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Aug 28, 2023
1 parent dec190c commit 75bf061
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private AudioItem getPlaylist(String userString, String id) throws IOException {
}
var tracks = new ArrayList<AudioTrack>();
for (var track : json.get("result").get("tracks").values()) {
var parsedTrack = this.parseTrack(track);
var parsedTrack = this.parseTrack(track.get("track"));
if (parsedTrack != null) {
tracks.add(parsedTrack);
}
Expand Down

0 comments on commit 75bf061

Please sign in to comment.