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

FFmpeg #178

Closed Mage0fDoom closed 2 years ago

Mage0fDoom commented 2 years ago

(ERROR: FFMPEG is not installed. Install with "npm install ffmpeg-static" or download it here: https://ffmpeg.org/download.html.) I get this error every time I start the bot and when I use play and the commands work and it joins but it never plays anything and any commands after the first with few exception get "The music is starting... please wait and retry!" and I have tried installing globally and doing audit but it never changes.

Valenwe commented 2 years ago

Got the same issue here. Ffmpeg is still in my node modules folder, and everything is up to date. I think the issue comes from the discord-player module, but I'm not certain

Valenwe commented 2 years ago

Okay I did some research on module codes, and it seems that discord-player is using another module called prism-media, and in this prism-media (https://github.com/amishshah/prism-media), there is our error message printed in the console about FFMPEG not being installed. So I tried downloading it and unzipping in the node modules folder, and it now works!

The solution is just to manually install that prism-media module.

Mage0fDoom commented 2 years ago

Thank you it now works for me as well

themixhelp commented 2 years ago

i have same problem today, thanks!

revot334 commented 2 years ago

looks like it has been resolved!

CarlosLeBg commented 2 years ago

Bonne chznce

revot334 commented 2 years ago

???