GithubHelp home page GithubHelp logo

Comments (4)

LewdHuTao avatar LewdHuTao commented on September 15, 2024

Im sure it is not possible to play songs directly from spotify. Lavalink doesn't support playback from spotify it can only convert spotify link to youtube link. Also spotify have strict DRM that is impossible to bypass.

from discord-musicbot.

UponAnonymous avatar UponAnonymous commented on September 15, 2024

Ah, in that case do you know anyway that maybe could possibly make this suggestion work. As sending a Spotify song for it to play the clean YouTube version is pretty annoying, especially when you have to then search for it to get the correct song?

from discord-musicbot.

LewdHuTao avatar LewdHuTao commented on September 15, 2024

If you use your own lavalink you can use LavaSrc plugins in your lavalink. It can search more accurate search results on youtube when you play song using spotify links.

If you want to use LavaSrc you need to disable spotify plugins in this code. So go to djs-bot/lib/clients/Erela.js search for line 168 and do this

plugins: [ 
     new deezer(), 
     new AppleMusic(), 
     // new spotify(), 
],

from discord-musicbot.

BioCla avatar BioCla commented on September 15, 2024

This isn't part of the current plan for v5.x, It might be considered as a possible alternative in future versions. If you want to see the feature in the bot you can contribute to the project and it will be greatly appreciated!

Keep in mind that spotify links are still natively accepted by lavalink

from discord-musicbot.

Related Issues (20)

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.