From ca22a8ee739ae8411ecce7b6cd91edb7f7b46e04 Mon Sep 17 00:00:00 2001 From: Nansess <75940580+Nansess@users.noreply.github.com> Date: Sun, 23 Jun 2024 13:57:12 -0400 Subject: [PATCH] comments --- .../topi314/lavasrc/applemusic/AppleMusicSourceManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/src/main/java/com/github/topi314/lavasrc/applemusic/AppleMusicSourceManager.java b/main/src/main/java/com/github/topi314/lavasrc/applemusic/AppleMusicSourceManager.java index 2ffadf34..5be94f2c 100644 --- a/main/src/main/java/com/github/topi314/lavasrc/applemusic/AppleMusicSourceManager.java +++ b/main/src/main/java/com/github/topi314/lavasrc/applemusic/AppleMusicSourceManager.java @@ -227,10 +227,10 @@ public AudioItem loadItem(String identifier, boolean preview) { if (id2 == null || id2.isEmpty()) { return this.getAlbum(id, countryCode, preview); } - route = "songs"; + route = "songs"; //ghetto ahhh code return this.getSong(id2, countryCode, route, preview); case "music-video": - route = "music-videos"; + route = "music-videos"; //ghetto ahhh code return this.getSong(id, countryCode, route, preview); case "playlist": return this.getPlaylist(id, countryCode, preview); @@ -685,7 +685,7 @@ public AudioItem getArtist(String id, String countryCode, boolean preview) ); } - public AudioItem getSong(String id, String countryCode, String route, boolean preview) throws IOException { + public AudioItem getSong(String id, String countryCode, String route, boolean preview) throws IOException { //ghetto ahhh code should prob do its method for the GetVideo var json = this.getJson( API_BASE + "catalog/" +