Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Nansess authored Jun 23, 2024
1 parent d110098 commit ca22a8e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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/" +
Expand Down

0 comments on commit ca22a8e

Please sign in to comment.