ZerioDev / Music-bot

A complete code to download for a cool Discord music bot !
https://discord.gg/5cGSYV8ZZj
GNU General Public License v3.0
869 stars 1.05k forks source link

Cannot play a resource that has already ended. #207

Closed Ansh-Sonkusare closed 1 year ago

Ansh-Sonkusare commented 2 years ago

Error emitted from the queue Status code: 403 Error emitted from the connection [PlayerError] Cannot play a resource that has already ended. Error emitted from the queue [DestroyedQueue] Cannot use destroyed queue

This happens mostly these days on specific songs it might be the discord-player's issue

Yunghub commented 2 years ago

image I'm getting the same error aswell. The bot is using a lot of RAM.

Team-Nemezis commented 2 years ago

same issue

Ayinaki commented 2 years ago

Same issue here, Any fixed been found?

Zyztem commented 2 years ago

Same issue

LouieBigBoi commented 2 years ago

Same Issue Here

Zyztem commented 2 years ago

A new config has been found. and fixes the issue

 ytdlOptions: {
                filter: "audioonly",
                opusEncoded: "true",
                quality: 'highestaudio',
                highWaterMark: 1 << 30, // DONT TOUCH
            }

the highWaterMark needs to be adjusted from 25 to 30 ( in config.js )