libmpd: An MPD client library.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


A client library for MPD, the Music Player Daemon.

[Skip to ReadMe]


Versions0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0,,,,,, 0.9.0,,,,,,,,,,
Dependenciesattoparsec (>=0.10.1 && <1), base (==4.*), bytestring (>=0.9 && <1), containers (>=0.3 && <1), data-default-class (>=0.0.1 && <1), filepath (==1.*), mtl (>=2.0 && <3), network (>=2.1 && <3), old-locale (==1.*), text (>=0.11 && <2), time (>=1.1 && <1.9), utf8-string (>=0.3.1 && <1.1) [details]
CopyrightBen Sinclair 2005-2009, Joachim Fasting 2007-2015, Daniel Schoepe 2009, Andrzej Rybczak 2010, Simon Hengel 2011-2014, Niklas Haas 2012, Matvey Aksenov 2014, Wieland Hoffmann 2014, Tim Heap 2014, Tobias Brandt 2014
AuthorBen Sinclair
MaintainerJoachim Fasting <>
CategoryNetwork, Sound
Home page
Bug tracker
Source repositoryhead: git clone
UploadedSat Oct 27 20:18:26 UTC 2018 by JoachimFasting




Maintainers' corner

For package maintainers and hackage trustees

Readme for libmpd-

[back to package description]

libmpd-haskell: a client library for MPD


libmpd-haskell is a pure Haskell client library for MPD, the music playing daemon.



With cabal-install, do

cd libmpd-haskell && cabal install


With GHCi:

> :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",...]

MPD API compliance

Any deviation from the latest version of the MPD protocol reference is a bug.

Submitting bug reports

See our bug tracker. Test cases are highly appreciated.

Submitting patches

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 GitHub repository and send a pull request.

Well-formatted patches are appreciated. New features should have a test case.



libmpd-haskell is distributed under the MIT license.


See CONTRIBUTORS in the source distribution. Feel free to add yourself to this list if you deem it appropriate to do so.