From 54eea402c9332f055703b324590572e9a8914266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?To=CF=80?= Date: Thu, 23 Nov 2023 23:18:06 +0100 Subject: [PATCH] add isrc to soundcloud (#35) --- .../source/soundcloud/DefaultSoundCloudDataReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/soundcloud/DefaultSoundCloudDataReader.java b/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/soundcloud/DefaultSoundCloudDataReader.java index c7098517..aec76ae2 100644 --- a/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/soundcloud/DefaultSoundCloudDataReader.java +++ b/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/soundcloud/DefaultSoundCloudDataReader.java @@ -37,7 +37,7 @@ public AudioTrackInfo readTrackInfo(JsonBrowser trackData, String identifier) { false, trackData.get("permalink_url").text(), ThumbnailTools.getSoundCloudThumbnail(trackData), - null + trackData.get("publisher_metadata").get("isrc").text() ); }