mplayer icon indicating copy to clipboard operation
mplayer copied to clipboard

How to configure the binary location?

Open Waog opened this issue 6 years ago • 1 comments

Hi,

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

Waog avatar Mar 14 '18 23:03 Waog

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?

gfmoore avatar Mar 20 '18 16:03 gfmoore