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 External DNS links not working on Linux #1900

Closed dfxphoenix closed 4 months ago

dfxphoenix commented 4 months ago

Describe the bug As the title says, if I play an external link that contains DNS (ex: https://live.example.com/live.mp3), my discord bot that uses this module connects and exits instantly. This only happens on Linux, on Windows everything works perfectly. If I play a link that contains an IP, it also works on Linux. To Reproduce Steps to reproduce the behavior: I tried to delete the cache from nodejs I tried my discord bot on several operating systems, as I said, on Ubuntu and Fedora it doesn't work, but on Windows it works I tried older versions of discord.js and discord-player, but it still doesn't work I tried other Discord bots that use this module, but none of them work.

Expected behavior To get an error in the console so I can figure out why it doesn't work, but I don't get any error. Please complete the following information:

Additional context I have to say that it was working perfectly on Linux before, but after some time it stopped working, before that I was using Ubuntu 18, and it worked perfectly, I don't know if it still works on Ubuntu 18, but on the latest versions of Fedora and Ubuntu no longer works

dfxphoenix commented 4 months ago

After other tests, I saw that it works on Ubuntu 20, I also test on newer versions of ubuntu (23, 24) and come back with an edit

Edit: Same problem on Ubuntu 23 and 24

twlite commented 4 months ago

Your issue might be related to https://github.com/Androz2091/discord-player/issues/1639#issuecomment-1477466885

dfxphoenix commented 4 months ago

Apparently the problem was with ffmpeg-static. Thank you.