The libmpd package

[ Tags: library, mit, network, sound ] [ Propose Tags ]

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 ChangeLog
Dependencies base (==4.*), filepath (>=1.0 && <1.2), mtl (==1.1.*), network (>=2.1 && <2.3), QuickCheck (==2.1.*), utf8-string (>=0.3.1 && <0.4) [details]
License LGPL
Copyright Ben Sinclair 2005-2009, Joachim Fasting 2010
Author Ben Sinclair
Maintainer Joachim Fasting <>
Category Network, Sound
Home page
Source repo head: git clone git://
Uploaded Fri Mar 26 06:05:09 UTC 2010 by JoachimFasting
Distributions Arch:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables test
Downloads 16262 total (240 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI





Build test driver


Build driver with hpc instrumentation


Use base version 3


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for libmpd-0.4.1

[back to package description]

libmpd-haskell: a client library for MPD


libmpd-haskell is a client library for MPD written in Haskell that <br /> aims to provide a safe and flexible yet consistent and intuitive <br /> interface to MPD's external API.



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 use the deprecated base 3, run:

cabal install -f old_base

Compiler support

We try to support the two last major versions of GHC, but only the latest version 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.


With GHCi:

> import Network.MPD
> withMPD $ lsInfo ""
Right [Left "Tool", Left "Tom Waits",...]
> withMPD $ add "Tom Waits/Big Time"
Right ["Tom Waits/Big Time/01 - 16 Shells from a Thirty-Ough-Six.mp3",...]


To start developing libmpd-haskell you'll first need a clone of the source code repository:

git clone git://

To pull in new changes from upstream, use:

git pull origin master

When writing or modifying code, please try to conform to the surrounding style. If you introduce new functionality, please include a test case or at least document the expected behavior.

Submitting patches

To submit a patch, use git format-patch and email the resulting file 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.

Submitting bug reports

See our bug tracker.



LGPL version 2.1


Ben Sinclair <>

Joachim Fasting <>

Daniel Schoepe <>