Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.69 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.69 KB

Build Status License: GPL v3 GitHub issues GitHub stars

OCaml-libmpdclient

This is an attempt to write a library in order to access to the mpd server. This lib is based on the mpd protocol (specifications).

Executables that illustrate the usage of OCaml-libmpdclient can be found in the bin and samples directories of this repository.

Progress :

  • Querying MPD's status (done)
  • Controlling playback (done)
  • Playback options (done)
  • The current playlist (done)
  • Stored playlists (done)
  • The music database (done)
  • Mounts and neighbors (to do)
  • Stickers (to do)
  • Connection settings (to do)
  • Partition commands (to do)
  • Audio output devices (to do)
  • Reflection (to do)
  • Client to client (to do)

API :

Install

Dune

dune build
dune build samples/mpd_status_query.exe
dune runtest
dune clean

Test sample :

./try_mpd_queries.native "play"
received: OK MPD 0.19.0

received: OK
./try_mpd_queries.native "stop"
received: OK MPD 0.19.0

received: OK