GithubHelp home page GithubHelp logo

parnexcodes / tidal-dl-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
29.0 1.0 12.0 23 KB

A discord bot to download high quality music from streaming services.

License: Apache License 2.0

Python 100.00%
discordpy tidaldl hacktoberfest

tidal-dl-discord-bot's Introduction

tidal-dl discord bot

A discord bot to download high quality music from streaming services.

This bot was designed to work on Ubuntu

Edit the commands in music.py if you're using another operating system.

Note

Make a channel for requests channel.

The bot performs tasks synchronously (one task at a time) , so the channel needs to be locked after each request.

If you have a better solution , open a PR.

I have restricted Qobuz , Youtube , Soundcloud and Artist Profile/Playlists. Edit these lines if you want to allow them.

Install the following packages before proceeding.

python

pip

pip3 install git+https://github.com/uwulily/streamrip.git

rclone

7zip

pip install -r requirements.txt

Keep rclone and 7zip in the bot folder if you are using Windows.

Setting up the bot is pretty straight forward.

Run rip config --open , it will show you the file location of streamrip's config. Open it with a text editor and change folder = "/Users/nathan/StreamripDownloads" to folder = "Your bot folder/download/Temp/"

Set [database] enabled = true to false.

Open the config.json file and edit it.

This line Should have a / at the end.

Put the channel id in line 6.

Run Bot

python3 bot.py

When you run the $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.

Thanks

Streamrip by nathom

Discord.py Bot Template by kkrypt0nn

Discord

https://discord.gg/z6prF5C

tidal-dl-discord-bot's People

Contributors

dependabot[bot] avatar parnexcodes avatar punit-choudhary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tidal-dl-discord-bot's Issues

'Install the following packages before proceeding.' includes things that aren't packages.

The instructions include '7zip' as a package to install but when 'apt-get install 7zip' is run it returns the error:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package 7zip
If 'pip install 7zip' is run it returns:
ERROR: Could not find a version that satisfies the requirement 7zip (from versions: none) ERROR: No matching distribution found for 7zip

The instructions include 'pip install -r requirements.txt' as a package to install. When you run this command it returns the error:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

It may be clear what these instructions mean to more experienced users it's unclear to me what is required to enter into the terminal here.

not issue but idea

So the bot will see if there is already posted a track/album.
The bot will check link or album and if it's already uploaded then it will post the link to the user instead of redownloading it and posting it. It will save time and reources.

maybe little more info if I wasn't clear Discord message/conversation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.