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= diff --git a/README.md b/README.md index d0ce04b..0b9e37b 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ You can visit the official site [here](https://eternalbox.dev/), in case you wan 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. ## Configuration 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 +} 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