Skip to content

mamantoha/cryMPD

Repository files navigation

cryMPD

Built with Crystal

Control Music Player Daemon audio playing in the browser

Screenshot

Features

  • Controlling playback (play, pause, skip next, and skip back)
  • Scroll current song
  • Playback options (shuffle, repeat, and repeat once)
  • Change volume
  • Change song in the playlist
  • A database update
  • Displays statistics

Install

You can install cryMPD in different ways.

Binaries

The project offers precompiled binary packages for Linux and macOS.

You can obtain the standalone binary for cryMPD from the releases page, available for download.

./bin/crympd
[development] cryMPD is ready to lead at http://0.0.0.0:3001

From sources

cryMPD requires Crystal and Node.js to be installed.

Clone this repository:

https://github.com/mamantoha/cryMPD.git
cd cryMPD/

Install and build npm dependencies:

npm install
npm run build

Install Crystal dependencies:

shards install

Run server:

crystal ./src/crympd.cr
[development] cryMPD is ready to lead at http://0.0.0.0:3001
crystal ./src/crympd.cr --mpd_host 192.168.1.1 --mpd_port 6601

Contributing

  1. Fork it (https://github.com/mamantoha/cryMPD/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors