Skip to content

Commit

Permalink
idk man
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Oct 8, 2022
1 parent b3b5771 commit a119962
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public AudioItem getAlbum(String id) throws IOException {
return AudioReference.NO_TRACK;
}

return new BasicAudioPlaylist(json.get("data").get("name").text(), tracks, null, false);
return new BasicAudioPlaylist(json.get("name").text(), tracks, null, false);

}

Expand Down Expand Up @@ -209,7 +209,7 @@ public AudioItem getPlaylist(String id) throws IOException {
return AudioReference.NO_TRACK;
}

return new BasicAudioPlaylist(json.get("data").get("name").text(), tracks, null, false);
return new BasicAudioPlaylist(json.get("name").text(), tracks, null, false);

}

Expand Down

0 comments on commit a119962

Please sign in to comment.