Update 'README.md'
This commit is contained in:
parent
dec3d516c2
commit
f8859afc18
@ -20,7 +20,7 @@ Directly uses youtube-dl and ffmpeg for downloading media.
|
|||||||
|
|
||||||
- Run the binary once to generate `config.json`: `./dcbot`.
|
- 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".
|
- 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`.
|
- 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"`.
|
- 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.
|
- Save and you're done. The bot should now look for youtube-dl locally instead of system-wide.
|
Reference in New Issue
Block a user