A bot for SBPH coded by Aspidiske/Yuuhei and thepanglossian
You must use any Linux distro here, Windows isn't a linux distro.
I used Debian for this when it's still alive on Buccaneer Hub, so change debian specific commands here like apt
to your distro
If ur gonna plan to use another OS, you'll gonna have a bad time porting commands.
Install the following packages before proceeding.
sudo apt install python3 pip libjpeg-dev zlib1g-dev python3-dev libffi-dev libxml2-dev libxslt-dev
then add Python to your path.
Run these to install additional important stuff:
pip3 install streamrip --upgrade
Install RClone
Install 7zip
or p7zip
Run pip install -r requirements.txt
Run rip config --open
, it will show you the file location of streamrip's config. Open it with a text editor and change
folder = "/home/<user>/StreamripDownloads"
to folder = "Your bot folder/download/Temp/"
Set [database] enabled = true
to false.
Read this to setup rclone.
Change rclone remote to your rclone remote name on cogs/*.py from rclone_drives = ["gd", "gd", "gd"]
to your remote name.
Open the config.json file and edit it.
-
config.json download location should have a
/
at the end. -
Put the channel id in 6 and 7 of config.json
If khi_dl_arm or khi_dl_linux_x64 binary isnt present in resources folder, download it on this repository
If all set, run:
python3 bot.py
- When you run the h!dl command for the first time , check your terminal and follow the steps to login to tidal/qobuz.
Your token is saved so you don't have to do it everytime.
Check out Kaidoku, the bot often partnered with this bot!