Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Windows Installation

POPE44 edited this page Jan 10, 2021 · 6 revisions

Installation Guide Windows

The preparation process is quite difficult but very do-able. Note This process will also work if your setting up the music bot normally and not as Fallout Radio.

  • For the windows installation download the repository as a zip file and unpack it wherever suits best.

  • To begin with make sure you have the right libraries installed, to do this run (I did all this through Visual Studio Code)

pip(3) -r install requriementsW.txt

  • Make sure that ffmpeg and youtube_dl have been installed.

  • Then head over to https://github.com/BtbN/FFmpeg-Builds/releases to grab the latest ffmpeg release. Unzip the file and run all three .exes in the \bin\ folder. Remember the file path of the three .exe files as you'll need to substitute it into the code here ... (only substitute the ffmpeg.exe file into the path the other two .exes are not needed unless you encounter the error as shown below)

exc_path = "D:\\Bot\\ffmpeg\\bin\\ffmpeg.exe"

  • The you'll want to get your bots token from the development portal and put it in client.run("TOKEN") place. Run the file as a python script adn your Ready!

Some Misc Setup Things

  • You'll need to change the file paths of the folders that house the music

  • You'll need to put all this in a separate folder and delete the contents somewhat regularly as it wont always delete the .mp3s it downloads off youtube when the play command is run

  • Hosting on Heroku and Repl.it will encounter errors I do not know how to fix (so please don't ask)

  • FFmpeg supports most file types. Ive used .mp4, .mp3,. .wav, .ogg and a couple others. If its not working check your music file type is supported by ffmpeg here

That's the installation Tutorial. Its as easy as that!

Errors

Some errors may occur once the bot is running. Here are some errors I encountered and how I fixed them

Ffmprobe or Avprobe not found

You'll need to copy and paste the three .exe files that came in the ffmpeg folder you unzipped into the python script path. Despite not being in English this tutorial here shows how to fix this problem.