The libmpd package

[Tags:library, mit]

A client library for MPD, the Music Player Daemon (http://www.musicpd.org/).


[Skip to Readme]

Properties

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.8.0.1, 0.8.0.2, 0.8.0.3, 0.8.0.4, 0.8.0.5, 0.9.0, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4
Dependencies attoparsec (>=0.10.1 && <0.12), base (==4.*), bytestring (>=0.9 && <1), containers (>=0.3 && <0.6), data-default (>=0.4.0 && <0.6), filepath (>=1.0 && <1.4), mtl (>=2.0 && <2.2), network (>=2.1 && <2.5), old-locale (>=1.0 && <2.0), text (>=0.11), time (>=1.1 && <2.0), utf8-string (>=0.3.1 && <0.4) [details]
License LGPL
Copyright Ben Sinclair 2005-2009, Joachim Fasting 2014
Author Ben Sinclair
Maintainer Joachim Fasting <joachim.fasting@gmail.com>
Stability beta
Category Network, Sound
Home page http://github.com/joachifm/libmpd-haskell#readme
Bug tracker http://github.com/joachifm/libmpd-haskell/issues
Source repository head: git clone https://github.com/joachifm/libmpd-haskell
Uploaded Fri May 2 14:30:52 UTC 2014 by JoachimFasting
Distributions Fedora:0.9.0.2, FreeBSD:0.9.0.2, NixOS:0.9.0.4
Downloads 10006 total (81 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for libmpd

Readme for libmpd-0.8.0.3

libmpd-haskell: a client library for MPD

About

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

Getting

  • Latest release
  • git clone git://github.com/joachifm/libmpd-haskell.git

Building

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

Running tests

To run the libmpd testsuite, do:

cabal configure --enable-tests && cabal build && cabal test

Compiler support

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.

Usage

With GHCi:

> :set -XOverloadedStrings
> 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-Ought-Six.mp3",...]

Development

Getting started

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.

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 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.

Resources

License

LGPL version 2.1 (see LICENSE)

Contributors (in order of appearance)

Ben Sinclair <ben.d.sinclair@gmail.com>

Joachim Fasting <joachim.fasting@gmail.com>

gwern0 <gwern0@gmail.com>

Daniel Schoepe <daniel.schoepe@googlemail.com>

Andrzej Rybczak <electricityispower@gmail.com>

Simon Hengel <sol@typeful.net>

Daniel Wagner <daniel@wagner-home.com>

nandykins