Comments (4)
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.
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.
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.
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)
- Support for a lavalink-client which has lavalink v4 support HOT 9
- Allow /play command in the control channel
- Dashboard login loop HOT 10
- Issue with fastify v4.26.0 HOT 1
- Multi-language support and interface buttons
- SUSPICIOUS - Could not load track. HOT 7
- Support for DockerFile for fly.io deployment HOT 2
- WS and API port interverted in config.js default HOT 4
- Error while output the queue command HOT 1
- command.setCategory is not a function
- Music not playing | There was an error while searching HOT 5
- There was an error while searching HOT 1
- Lavalink error when playing? HOT 1
- New lavalink v4
- Discord resets Bot token because of to many requests HOT 1
- Cannot play music "There was an error while searching" HOT 5
- Error: Used disallowed intents HOT 3
- Update to Lavalink 4.x server HOT 2
- [ERROR] | [FATAL] Possibly Uncaught Exception, Reason: ReferenceError: player is not defined HOT 11
- /search shows wrong song data in "added to queue" message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-musicbot.