Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ FROM adoptopenjdk:8-jdk-hotspot as deps

WORKDIR /EternalJukebox

RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl \
&& chmod a+rx /usr/local/bin/youtube-dl\
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp \
&& chmod a+rx /usr/local/bin/yt-dlp \
&& apt-get update \
&& apt-get install ffmpeg gettext python -y \
&& apt-get install ffmpeg gettext python3 -y \
&& apt-get clean \
&& touch hikari.properties

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ For Ubuntu or Debian-based distributions execute `sudo apt-get install default-j
##### Fedora and CentOS
There is a tutorial for installing java on Fedora and CentOS at https://www.digitalocean.com/community/tutorials/how-to-install-java-on-centos-and-fedora

### Youtube-dl:
### Yt-dlp (a more up-to-date fork of Youtube-dl):
##### Windows
Download the .exe at https://yt-dl.org/latest/youtube-dl.exe and place it in `C:\Windows\`, or in another folder on the PATH.
Download the .exe at https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe and place it in `C:\Windows\`, or in another folder on the PATH.
##### Linux
Use these commands in the terminal to install youtube-dl on Linux:
`sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl`
`sudo chmod a+rx /usr/local/bin/youtube-dl`
`sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp`
`sudo chmod a+rx /usr/local/bin/yt-dlp`

### ffmpeg:
##### Windows
Expand Down
2 changes: 1 addition & 1 deletion yt.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
youtube-dl %1 -f best --audio-format %3 -x -o %2 --max-filesize 100m --no-playlist
yt-dlp %1 -f best --audio-format %3 -x -o %2 --max-filesize 100m --no-playlist
2 changes: 1 addition & 1 deletion yt.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
youtube-dl $1 -f "best" --audio-format $3 -x -o $2 --max-filesize 100m --no-playlist
yt-dlp $1 -f "best" --audio-format $3 -x -o $2 --max-filesize 100m --no-playlist