codetheweb / muse

🎧 a self-hosted midwestern Discord music bot that doesn't suck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running on windows

hodgman opened this issue · comments

In case anyone else is having the same struggle as me:

I had trouble figuring out how to get this running because there's no "installer" for ffmpeg on windows - it's just a zip of files...
But if ffmpeg isn't "installed" on your system I found that you can tell the node libraries where to find by setting the FFMPEG_PATH environment variable before starting node:

SET FFMPEG_PATH=C:\whatever\ffmpeg\bin\ffmpeg.exe
npm run start

Thanks for the info. I added a note to the README about it.

i tried this but it doesn't work it says
SET FFMPEG_PATH=C:\ffmpeg\bin\ffmpeg.exe
npm run start
bash: SET: command not found

SET is the windows cmd command to set environment variables, so yeah, it won't work in bash.
Are you running bash on Windows, or Linux? Either way I think the equivalent there is export??