From a11996288bd3e51ecb7b29f9e3e584f8956e7a17 Mon Sep 17 00:00:00 2001 From: TopiSenpai Date: Sat, 8 Oct 2022 14:33:05 +0200 Subject: [PATCH] idk man --- .../topisenpai/lavasrc/spotify/SpotifySourceManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/main/java/com/github/topisenpai/lavasrc/spotify/SpotifySourceManager.java b/main/src/main/java/com/github/topisenpai/lavasrc/spotify/SpotifySourceManager.java index df39b9dc..2eb8d06e 100644 --- a/main/src/main/java/com/github/topisenpai/lavasrc/spotify/SpotifySourceManager.java +++ b/main/src/main/java/com/github/topisenpai/lavasrc/spotify/SpotifySourceManager.java @@ -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); } @@ -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); }