https://github.com/cedlemo/ocaml-libmpdclient
mpd client library implementation in OCaml.
https://github.com/cedlemo/ocaml-libmpdclient
mpd mpd-client ocaml ocaml-libmpdclient
Last synced: about 1 month ago
JSON representation
mpd client library implementation in OCaml.
- Host: GitHub
- URL: https://github.com/cedlemo/ocaml-libmpdclient
- Owner: cedlemo
- License: gpl-3.0
- Created: 2016-12-11T20:36:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-23T09:40:09.000Z (almost 2 years ago)
- Last Synced: 2025-04-20T22:32:45.475Z (about 2 months ago)
- Topics: mpd, mpd-client, ocaml, ocaml-libmpdclient
- Language: OCaml
- Size: 30.6 MB
- Stars: 15
- Watchers: 0
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
[](https://travis-ci.org/cedlemo/OCaml-libmpdclient)
[](https://www.gnu.org/licenses/gpl-3.0)
[](https://github.com/cedlemo/OCaml-libmpdclient/issues)
[](https://github.com/cedlemo/OCaml-libmpdclient/stargazers)# 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](https://www.musicpd.org/doc/protocol/)).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 :
* https://cedlemo.github.io/OCaml-libmpdclient/
## 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.0received: OK
./try_mpd_queries.native "stop"
received: OK MPD 0.19.0received: OK