aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Kohls <mattkohls13@gmail.com>2019-06-18 00:38:44 -0400
committerMatt Kohls <mattkohls13@gmail.com>2019-06-18 00:38:44 -0400
commitd2d7d2f928293483ee2f10f4525a6f76bca7f5a8 (patch)
treebb07db0aef0c7477a226c058c73e907926d40d8e
parentffe6f521c4525479d1c1fb19f1e2b06cc955ee75 (diff)
downloadSoundChan-d2d7d2f928293483ee2f10f4525a6f76bca7f5a8.tar.gz
SoundChan-d2d7d2f928293483ee2f10f4525a6f76bca7f5a8.tar.bz2
SoundChan-d2d7d2f928293483ee2f10f4525a6f76bca7f5a8.zip
Bump in LavaPlayer version to fix some yt links
Various YouTube links did not work, this was fixed upstream so pulling in the latest version of the library.
-rw-r--r--build.gradle2
-rw-r--r--gradle/wrapper/gradle-wrapper.properties4
-rw-r--r--src/main/java/soundchan/AudioPlayerSendHandler.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 5ecc1c7..1b0f8f1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,7 +9,7 @@ repositories {
dependencies {
compile 'net.dv8tion:JDA:3.5.1_339'
- compile 'com.sedmelluq:lavaplayer:1.2.53'
+ compile 'com.sedmelluq:lavaplayer:1.3.17'
runtime 'ch.qos.logback:logback-classic:1.2.3'
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index e5373c5..2fededb 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Sun Dec 18 00:27:39 EET 2016
+#Tue Apr 30 21:55:36 EDT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-all.zip
diff --git a/src/main/java/soundchan/AudioPlayerSendHandler.java b/src/main/java/soundchan/AudioPlayerSendHandler.java
index cd76807..5e174ca 100644
--- a/src/main/java/soundchan/AudioPlayerSendHandler.java
+++ b/src/main/java/soundchan/AudioPlayerSendHandler.java
@@ -35,7 +35,7 @@ public class AudioPlayerSendHandler implements AudioSendHandler {
lastFrame = audioPlayer.provide();
}
- byte[] data = lastFrame != null ? lastFrame.data : null;
+ byte[] data = lastFrame != null ? lastFrame.getData() : null;
lastFrame = null;
return data;