libmpd-haskell: a client library for MPD
- Latest release
git clone git://github.com/joachifm/libmpd-haskell.git
The preferred method of building libmpd-haskell is using cabal-install, which takes care of dependency resolution and other minutiae.
To install libmpd-haskell, simply run:
cd libmpd-haskell && cabal install
To run the libmpd testsuite, do:
cabal configure --enable-tests && cabal build && cabal test
We try to support the two last major versions of GHC, but only the latest version (provided by the haskell-platform) is actually tested for.
MPD API compliance
We try to comply with the latest version of the MPD protocol specification; any deviation from this is a bug.
> :set -XOverloadedStrings > import Network.MPD > withMPD $ lsInfo "" Right [LsDirectory "Tool", LsDirectory "Tom Waits",...] > withMPD $ add "Tom Waits/Big Time" Right ["Tom Waits/Big Time/01 - 16 Shells from a Thirty-Ought-Six.mp3",...]
Create the clone thus:
git clone git://github.com/joachifm/libmpd-haskell.git master
To pull in new changes from upstream, use:
git pull origin master
To set up GIT hooks, see
hooks/README in the source distribution.
To submit a patch, use
git format-patch and email the resulting file(s) to
one of the developers or upload it to the bug tracker.
Alternatively you can create your own fork of the repository and send a pull request.
Well-formatted patches are appreciated. New features should have a test case.
Submitting bug reports
See our bug tracker. Test cases are highly appreciated.
libmpd-haskell is distributed under the MIT license.
Contributors (in order of appearance)
Ben Sinclair <email@example.com>
Joachim Fasting <firstname.lastname@example.org>
Daniel Schoepe <email@example.com>
Andrzej Rybczak <firstname.lastname@example.org>
Simon Hengel <email@example.com>
Daniel Wagner <firstname.lastname@example.org>
Niklas Haas <email@example.com>