https://github.com/nicklayb/elixir-mpd
Elixir Music Player Daemon service
https://github.com/nicklayb/elixir-mpd
elixir erlang genserver mpd music tcp
Last synced: about 2 months ago
JSON representation
Elixir Music Player Daemon service
- Host: GitHub
- URL: https://github.com/nicklayb/elixir-mpd
- Owner: nicklayb
- Created: 2020-05-29T19:02:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T21:04:56.000Z (almost 5 years ago)
- Last Synced: 2024-09-18T20:29:39.092Z (8 months ago)
- Topics: elixir, erlang, genserver, mpd, music, tcp
- Language: Elixir
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mpd
MPD (Music Player Daemon) is commonly used on UNIX.
It's a TCP server that plays music in the background which allows a lot of possibility.
[See here](https://www.musicpd.org/doc/html/index.html)
The ultimate goal is to have full abilities on MPD server through GenServers.
## Installation
The package can be installed by adding `mpd` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:mpd, "~> 0.1.0"}
]
end
```## Usage
### Mpd.Player
The package now includes a Player GenServer that you can use to have the player's current state and playing song. It also listens on change and gets updated on change
See documentation for more info
### Mpd.Database (WIP)
The goal is to have cached or quickly accessible database copy and have it accessible as a gen server.
See documentation for it's progress