Closed joshuayuen99 closed 2 years ago
Hello, I am unable to reproduce this
For me, I can't use any link, if I pass a YT or Spotify link, it won't be able to get the song.
Got the same error
Link used
TypeError: track.raw.engine.downloadProgressive is not a function at Queue.<anonymous> (E:\program-Archive\git\ZeroMusic\node_modules\discord-player\dist\Structures\Queue.js:702:50) at Generator.next (<anonymous>) at E:\program-Archive\git\ZeroMusic\node_modules\discord-player\dist\Structures\Queue.js:8:71 at new Promise (<anonymous>) at __awaiter (E:\program-Archive\git\ZeroMusic\node_modules\discord-player\dist\Structures\Queue.js:4:12) at Queue.play (E:\program-Archive\git\ZeroMusic\node_modules\discord-player\dist\Structures\Queue.js:649:16) at Object.execute (E:\program-Archive\git\ZeroMusic\commands\music\play.js:96:28) at processTicksAndRejections (node:internal/process/task_queues:96:5)
I found out that this error occurs consistently when you are playing SoundCloud links using the optional downloader module:
const { Player } = require("discord-player");
const { Downloader } = require("@discord-player/downloader");
const player = new Player( ... );
player.use("YOUTUBE_DL", Downloader);
Node - v16.6.1
discord-player - v5.1.0
discord-player/downloader - v3.0.1
Try v5.3.x, re-open if this still persists. I have added a check for downloadProgressive
function
Describe the bug SoundCloud links don't work. Trying to play one results in the following error:
To Reproduce Try to play a SoundCloud link.
Expected behavior The SoundCloud song should play.
Please complete the following information: