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

Linux Installation

POPE44 edited this page Jan 14, 2021 · 2 revisions

Installation Guide Linux

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. Please Note: I did all this on Raspian OS (On my raspberry pi) but it should work on most linux systems as its very simple.

  • 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 requriementsL.txt

  • Make sure that ffmpeg and youtube_dl have been installed.

  • 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 and your Ready!

Key Difference

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

For linux I had to find a way to make the music play without forcing the executable to play the source.

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!