Comments (8)
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.
I'm using Ubuntu to run it. That's where the problem starts.
from discord.js-musicbot-addon.
Ytdl-core works for me, but Youtube-audio-stream doesn't.
from discord.js-musicbot-addon.
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.
Is it alright if I installed ffmpeg through npm?
from discord.js-musicbot-addon.
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.
I'm an idiot. That worked. Thanks very much!
from discord.js-musicbot-addon.
No problem.
from discord.js-musicbot-addon.
Related Issues (20)
- !clear and !leave not working as intended HOT 1
- Bug in code: number instead of string HOT 1
- Music glitches out at the end of every song HOT 3
- Play command not queueing songs HOT 1
- Playing wrong videos, but playing videos that have the song that was requested in it HOT 3
- You're not in a voice channel?
- Songs become a type that can't use the map method HOT 1
- Bot skip when trying to play some VEVO songs HOT 2
- error HOT 10
- Music bot joins the leaves HOT 3
- Error installing the module
- Play command bug HOT 3
- cannot read module HOT 1
- How can i change the language of the commands? HOT 1
- Join then leave HOT 3
- cant play music
- Remove function issue HOT 1
- Discord.js v12 HOT 1
- Something went wrong fetching that playlist!
- Not Playing Songs Correctly (always finishes a min or more before the song ends) and Quite Huge "noob filter"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.js-musicbot-addon.