From d2d7d2f928293483ee2f10f4525a6f76bca7f5a8 Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Tue, 18 Jun 2019 00:38:44 -0400 Subject: 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. --- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 ++-- src/main/java/soundchan/AudioPlayerSendHandler.java | 2 +- 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; -- cgit v1.2.3 From 59ffa2f46350597ed96ad32cd6ba19f274165f3a Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Sat, 10 Aug 2019 21:54:33 -0400 Subject: Another lavaplayer bump --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 1b0f8f1..befa0d3 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.3.17' + compile 'com.sedmelluq:lavaplayer:1.3.20' runtime 'ch.qos.logback:logback-classic:1.2.3' } -- cgit v1.2.3