Skip to content

cedlemo/OCaml-libmpdclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

mpd client library implementation in OCaml.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published