Gabriel Silva

Results 11 comments of Gabriel Silva

Actually find out that after the "end()" method is called while playing through ytdl, an ERR_STREAM_WRITE_AFTER_END error is thrown. Solved by myself chaning from "end()" to "destroy()" and listening for...

Actually the problem was not solved. Listening for the 'close' event makes the music to stop randomly.

Same problem, input stream aborted

Check https://github.com/fent/node-ytdl-core/pull/1152

Actually the fix from #1080 is something that must be done internally in the lib. If you want to try using my fork, which fixes this error and some others,...

hey @bboynton97 @dev-syn @JenerNiklas, i deleted the fork because stopped working on it after i found a lot of new bugs... alternatively I've migrated to `@distube/ytdl-core`

See: https://github.com/fent/node-ytdl-core/issues/1220

This also happens randomly with me, both errors HTTP 401 and 410, even when using cookies and YouTube ID Token. https://github.com/fent/node-ytdl-core/issues/1205

Stack trace: ``` AudioPlayerError: Status code: 401 at ClientRequest. (/home/ubuntu/mybot/node_modules/miniget/dist/index.js:206:27) at Object.onceWrapper (node:events:628:26) at ClientRequest.emit (node:events:513:28) at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:701:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) at TLSSocket.socketOnData (node:_http_client:542:22) at TLSSocket.emit (node:events:513:28)...

Problem solved in newer versions of ytdl and discordjs/voice.