Thanks to visit codestin.com
Credit goes to github.com

Skip to content

OndrejSlamecka/hmc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is hmc

hmc is a Music Player Daemon client with a simple interface inspired by billy.

Warning: This program is in an early stage of development.

Install

Currently you have to build it yourself with stack.

git clone https://github.com/OndrejSlamecka/hmc.git && cd hmc
stack build
stack exec hmc

Controls

  • There are three views: Help (F1, F12), Playlist (F2, Esc), Browser (F3 adding mode, F4 opening mode).
  • You can exit with q or Ctrl-d, if you want to keep the music playing then exit with Ctrl-q.
  • In lists move up and down with arrows, press enter to play/(add/open), spacebar to (un)pause, Tab to play the next song. In playlist left and right arrows are used to seek in the song, in browser to enter/leave directory.
  • You can use gg, G, Ctrl-f or PageDown, Ctrl-b or PageUp, Shift-up, Shift-down to move faster in lists.
  • Remove the selected song from playlist with Del.
  • Search with / or s and leave search with Esc.
  • Control volume with + and - (if you have MPD configured to control volume).

Playlist view

TODO

  • Fix: Repeated timer kills just before ticks can lead to drift from actual elapsed time (when starting progress timer, status should be fetched from MPD?)
  • Improve: Make "next song" more responsive: execute "next song" MPD call asynchronously, before it returns queue all "next song" commands and once it returns just process them at once.
  • Playing queue (like billy has).
  • Recover when connection fails (can be fixed by the user by using MPD_HOST=127.0.0.1 hmc for now, maybe should be used by the Haskell MPD package or by libmpd?)

About

Music Player Daemon client with minimalist interface

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors