-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error emitted from the connection: aborted #55
Comments
It's a known problem with ytdl module. You can try to use play-dl module instead. For me it fixed all of the problems. |
how do i change this? directly into discord-player code? |
You need to install dev version of discord-player and also play-dl package:
In my case every command was a separate .js file, so I edited play.js (play command):
then you find the queue section:
and after that you paste:
The
|
It also might be a problem with age restricted videos. That's why it's good to use cookie. If you want to play age restricted videos then you'll have to add cookie when you're logged in on YouTube and also edit few files of play-dl module. |
@pateckii Your solution seems to work fine! |
Better fix than mine for sure, thanks for sharing @pateckii :3 |
Thanks for sharing this fix with a different module @pateckii !!! It's super helpful :D |
Oh and for context I already authorized codes for Spotify! |
@bbpink217 You didn't happen to find a solution that also works for Spotify? 🙂 |
First, the bot could connect to voice channel but couldn't play anything
I fixed it using this
Now, bot joins voice channel, starts playing and, after a few seconds, stops playing.
Node.js log: "Error emitted from the connection: aborted"
The text was updated successfully, but these errors were encountered: