A terminal music player based on afplay
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
src/Sound Use signalProcess to send signals and add docs Jun 5, 2016
test Initial import May 25, 2016
.gitignore Initial import May 25, 2016
LICENSE
README.md Update README Jun 2, 2016
Setup.hs Initial import May 25, 2016
haskell-player.cabal Use signalProcess to send signals and add docs Jun 5, 2016
haskell-player.png
stack.yaml Initial import May 25, 2016

README.md

haskell-player

A minimal graphical interface on top of afplay and afinfo built using brick.

haskell-player

By default it will show a list of all the contents found in the $HOME/Music directory.

Commands:

  • enter to play the selected song
  • spacebar to pause/resume the current song
  • left arrow to play the previous song
  • right arrow to play the next song
  • q to exit

Build and run

Use stack to build and run the project:

stack build
stack exec haskell-player

More info on stack at http://docs.haskellstack.org/en/stable/README/.

You can download the latest executable version at [TODO: add download link].

Requirements

It requires afplay and afinfo, that should be present in any modern Darwin distribution.

Supported formats

Any format supported by afplay.