mpcpp

1.7.0 • Public • Published

MPCPP

A small wrapper around mpd.js.

It provides handy shortcuts for playback actions (pause, next…) and option toggles (random, repeat…).

Also it formats responses for status and currentSong commands.

Query current playlist

currentAlbum() returns the album associated with the current song albums('artist', cb) returns an array of all the albums of the given artist

Run example.js to get a preview.

Related projects

Louxor - A web player for MPD

Licence

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mpcpp

    Weekly Downloads

    0

    Version

    1.7.0

    License

    ISC

    Last publish

    Collaborators

    • delapouite