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.

[maintain] [Publish]

A client library for MPD, the Music Player Daemon.

[Skip to Readme]


Versions 0.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,,,,,,,,,,,,,,,,
Change log
Dependencies attoparsec (>=0.10.1 && <1), base (>=4 && <5), bytestring (>=0.9 && <1), containers (>=0.3 && <1), data-default-class (>=0.0.1 && <1), filepath (>=1 && <2), mtl (>=2.0 && <3), network (>=2.1 && <3), old-locale (>=1 && <2), text (>=0.11 && <2), time (>=1.1 && <1.9), utf8-string (>=0.3.1 && <1.1) [details]
License MIT
Copyright Ben 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
Author Ben Sinclair
Maintainer Joachim Fasting <>
Category Network, Sound
Home page
Bug tracker
Source repo head: git clone
Uploaded by JoachimFasting at 2018-10-27T20:18:26Z


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

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.