peridot

Version, currently 0.1.12 versions

github.com/TravonteD/peridot

A MPD (Music Player Daemon) Client written in Crystal

7 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  peridot:
    github: TravonteD/peridot
    version: ~> 0.1.1

Then run:

shards install

shard.yml

Crystal
0.35.1
License
MIT
Author
TravonteD github.com/travonted
Target
  • peridot from src/peridot.cr

Dependencies

Runtime Dependencies

  • termbox*github: andrewsuzuki/termbox-crystal
  • libmpdclient*github: travonted/libmpdclient-crystal

README

# peridot

A modern terminal MPD (Music Player Daemon) client

![Screenshot](peridot.png)

## Installation

### Dependencies

- `libmpdclient`
- `termbox`
- `crystal`
- `shards`

### From Source

1. Install the dependencies from you package manager
2. run `sudo make install`

Note: If you'd like a different install directory just modify it in the Makefile

## Usage

### Launching
Run the command `peridot`

### Keybindings
- "play the selection": "enter"*
- "add the selection to list": "space"*
- "quit": "q"
- "focus_primary_window": "1"
- "focus_library_window": "2"
- "focus_playlist_window": "3"
- "move_down": "j"
- "move_up": "k"
- "previous": "<"
- "next": ">"
- "toggle_pause": "p"
- "stop": "s"
- "toggle_repeat": "r"
- "toggle_random": "z"
- "toggle_single": "y"
- "toggle_consume": "R"
- "volume_up": "+"
- "volume_down": "-"
- "seek_forward": "f"
- "seek_backward": "b"
- "queue_remove": "D"
- "queue_clear": "c"
- "filter": "l" # Drills down into the directory
- "unfilter": "h" # Goes up the directory structure

\*currently these cannot be remapped

## Development

Install the dependencies and run `shards install`

## Contributing

1. Fork it (<https://github.com/travonted/peridot/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

- [@TravonteD](https://github.com/travonted) - Creator and Maintainer