Androz2091 / discord-player

🎧 Complete framework to simplify the implementation of music commands using discord.js v14
https://discord-player.js.org/
MIT License
589 stars 192 forks source link

Playing song via spotify link errors out #1885

Closed JayXTQ closed 7 months ago

JayXTQ commented 7 months ago

Describe the bug Whenever I do player.play() with a spotify link, the youtube version is found then opus breaks trying to decode it.

To Reproduce Steps to reproduce the behavior:

Expected behavior Music should start playing

Please complete the following information:

Additional context the song I was using to test was gasoline by the weeknd

by the way, it shouldn't be a deno issue due to deno allowing you to run the exact same code and discord.js runs fine on it. if it actually the cause somehow then something will have to be fixed

JayXTQ commented 7 months ago

Nevermind, the original context of the idea was incorrect and after further discussion and debugging, it's a NAPI issue within Deno, so I was of course incorrect. They are currently working on fixing NAPI functions within Deno right now, so we just have to wait for that. Seems like most of the libraries for music in this sense are broken in deno sadly