0.1.2 • Published 8 years ago
@rdcl/mpc v0.1.2
node-mpc
Library to connect with MPD.
Installation
npm install @rdcl/mpc
Usage (console)
Run rdcl-mpc
. See rdcl-mpc --help
for all the command line options.
Usage (library)
const MPC = require('@rdcl/mpc')
const mpc = new MPC({ port: 6600 })
mpc.connect()
.then(() => mpc.command('play'))
Tests
npm test
There is still a lot of room for improvement, so feel free to help.