项目作者: OndrejSlamecka

项目描述 :
Music Player Daemon client with minimalist interface
高级语言: Haskell
项目地址: git://github.com/OndrejSlamecka/hmc.git
创建时间: 2017-02-10T15:55:36Z
项目社区:https://github.com/OndrejSlamecka/hmc

开源协议:Other

下载


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.

  1. git clone https://github.com/OndrejSlamecka/hmc.git && cd hmc
  2. stack build
  3. 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?)