From f8859afc181dbf9100efe30ca18798be78d5e31d Mon Sep 17 00:00:00 2001 From: r4 Date: Wed, 28 Jul 2021 18:06:56 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 48bb1d4..29170d9 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Directly uses youtube-dl and ffmpeg for downloading media. - Run the binary once to generate `config.json`: `./dcbot`. -- Make sure to have [ffmpeg](https://ffmpeg.org/) installed (basically every Linux/BSD distro should have a package for it). +- Make sure to have [ffmpeg](https://ffmpeg.org/) installed (basically every GNU/Linux/BSD distro should have a package for it). - Make sure to have a **RECENT** version of [youtube-dl](https://yt-dl.org/). If your distro doesn't package a recent version, see the section titled "Obtaining a recent youtube-dl binary". @@ -34,6 +34,8 @@ Some distributions like Debian don't ship a very recent version of youtube-dl, b - Locally download the latest youtube-dl version **into the cloned repo**: `wget https://yt-dl.org/downloads/latest/youtube-dl`. +- Make youtube-dl executable `chmod +x ./youtube-dl`. + - In `config.json`, look for the line that says `"youtube-dl_path"`. In that line, change the value that says `"youtube-dl"` to `"./youtube-dl"`. - Save and you're done. The bot should now look for youtube-dl locally instead of system-wide. \ No newline at end of file