From 8988ff5e9ec1f74a678afdb26e6f4e08488b54c4 Mon Sep 17 00:00:00 2001 From: David Molohon <96502484+D-Molohon@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:28:12 -0400 Subject: [PATCH 1/5] Update yt.sh The YoutubeAudioSource.kt file specifically looks for the .tmp file generated first, and then deleted when you don't specify the "-k" option. Adding this allows it to process. --- yt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt.sh b/yt.sh index 658d7fe..d20217a 100644 --- a/yt.sh +++ b/yt.sh @@ -1 +1 @@ -yt-dlp $1 -f "best" --audio-format $3 -x -o $2 --max-filesize 100m --no-playlist +yt-dlp $1 -f "best" -k --audio-format $3 -x -o $2 --max-filesize 100m --no-playlist From f9382ac6806d58b3ce4766c811a0d2e2a5e00b67 Mon Sep 17 00:00:00 2001 From: David Molohon <96502484+D-Molohon@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:29:42 -0400 Subject: [PATCH 2/5] Update build.gradle Changed for compatibility issues when compiling Kotlin. The original version pushed no longer works, and the newest version won't process a deprecated function. This version just happens to fit that middle ground necessary to run. --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 2648657..c4d6d05 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ plugins { id 'java' id 'application' - id 'org.jetbrains.kotlin.jvm' version '1.3.60' - id 'com.github.johnrengelman.shadow' version '4.0.3' + id 'org.jetbrains.kotlin.jvm' version '1.6.0' + id 'com.github.johnrengelman.shadow' version '8.1.1' } apply plugin: 'kotlin' @@ -20,7 +20,7 @@ repositories { } ext { - kotlin_version = '1.3.60' + kotlin_version = '1.6.0' vertx_version = '3.9.0' jackson_version = '2.9.2' } @@ -69,4 +69,4 @@ compileKotlin { kotlinOptions { jvmTarget = '1.8' } -} \ No newline at end of file +} From a924a43adf591b08738bd34ed5ee3bb76fbd231d Mon Sep 17 00:00:00 2001 From: David Molohon <96502484+D-Molohon@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:34:46 -0400 Subject: [PATCH 3/5] Update README.md Added specific version notes for JDK and Docker version in case this breaks in the future, you can compare what versions I was using. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d0ce04b..38fce8c 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ You can visit the official site [here](https://eternalbox.dev/), in case you wan ## Prerequesits You need to install [docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/) +You'll also need to install [Java's JDK](https://www.oracle.com/java/technologies/downloads/#jdk20-windows). Currently tested and working locally with JDK Development Kit 20.0.2, which is the latest at the time of writing. +Docker version currently is at v4.22.1 Then, download or clone the repository. From 8b4ce7189738efa8e72e0964cb41db67a42304be Mon Sep 17 00:00:00 2001 From: David Molohon <96502484+D-Molohon@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:35:23 -0400 Subject: [PATCH 4/5] Update .env.example Added default localhost and 8080 values to support what Docker will default to. --- .env.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 8cfe589..b1c068d 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ # only used for docker -DOMAIN= -PORT= +DOMAIN=localhost +PORT=8080 # Spotify Client / Secret; make an application over here: https://developer.spotify.com/my-applications/ SPOTIFYCLIENT= From 6d913fae0ff867128f1ee8cf196f2c20d2957cac Mon Sep 17 00:00:00 2001 From: David Molohon <96502484+D-Molohon@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:36:21 -0400 Subject: [PATCH 5/5] Update README.md Added spacing --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 38fce8c..0b9e37b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ You can visit the official site [here](https://eternalbox.dev/), in case you wan ## Prerequesits You need to install [docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/) + You'll also need to install [Java's JDK](https://www.oracle.com/java/technologies/downloads/#jdk20-windows). Currently tested and working locally with JDK Development Kit 20.0.2, which is the latest at the time of writing. + Docker version currently is at v4.22.1 Then, download or clone the repository.