Skip to content

potomak/haskell-player

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.