Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure the binary location? #23

Open
Waog opened this issue Mar 14, 2018 · 1 comment
Open

How to configure the binary location? #23

Waog opened this issue Mar 14, 2018 · 1 comment

Comments

@Waog
Copy link

Waog commented Mar 14, 2018

Hi,

how can I configure the binary (mplayer.exe) location? Or do I need to add mplayer to the PATH?

@gfmoore
Copy link

gfmoore commented Mar 20, 2018

You put the mplayer.exe in the same location as your app.js (or main run code)

const mplayer = require('mplayer')
let debug = {debug: false, verbose: false} //to get debug output on a console)
let player = new mplayer(debug);

Your sources can be anywhere (that your server can access!)

player.openFile('path/to/my/test/mp3])

Did I understand your question correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants