Coder Social home page Coder Social logo

Comments (8)

DarkoPendragon avatar DarkoPendragon commented on June 30, 2024

Someone else was getting this error after the 1.4 update. If you're using 1.4+, you need to have ffmpeg installed and in your PATH environment variable, rather than the prior updates that use the ffmpeg-binaries module. It was my mistake to not realize that in that update. But it has been noted in the readme.

Node 8+ (recommended, might work with older versions) and ffmpeg are all that's required for 1.4+ updates since it changed the way music is played/searched. Well that and a YouTube API3 key.

If for some reason you're using a lower version, I can't really say much besides update to the latest build.

from discord.js-musicbot-addon.

LuisESantana avatar LuisESantana commented on June 30, 2024

I'm using Ubuntu to run it. That's where the problem starts.

from discord.js-musicbot-addon.

LuisESantana avatar LuisESantana commented on June 30, 2024

Ytdl-core works for me, but Youtube-audio-stream doesn't.

from discord.js-musicbot-addon.

DarkoPendragon avatar DarkoPendragon commented on June 30, 2024

That shouldn't be a problem.
Did you try installing ffmpeg correctly before? As well as making sure it's installed, and re-installing all modules?

Also, just to note, ytdl-core was causing issues. Such as ending audio midway, errors related to audio, along with a few other annoyances, so I tried a couple other things and youtube-audio-stream hasn't caused any issues that haven't been able to be fixed.

from discord.js-musicbot-addon.

LuisESantana avatar LuisESantana commented on June 30, 2024

Is it alright if I installed ffmpeg through npm?

from discord.js-musicbot-addon.

DarkoPendragon avatar DarkoPendragon commented on June 30, 2024

No, you need ffmpeg itself installed, probably one of these since you're on Ubuntu https://ffmpeg.org/download.html#build-linux.
If you don't know how to set it up, I can't help much but tell you to search about it online.

from discord.js-musicbot-addon.

LuisESantana avatar LuisESantana commented on June 30, 2024

I'm an idiot. That worked. Thanks very much!

from discord.js-musicbot-addon.

DarkoPendragon avatar DarkoPendragon commented on June 30, 2024

No problem.

from discord.js-musicbot-addon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.