29 Nov
2005
29 Nov
'05
9:06 p.m.
On 2005-11-24, Donald Bruce Stewart <dons@cse.unsw.edu.au> wrote:
petersen:
Donald Bruce Stewart wrote:
hmp3 is a lightweight ncurses-based mp3 player written in Haskell. It uses mpg321 or mpg123 as its decoding backend. It is designed to be simple, fast and robust.
Cool, thanks! How about making it ignore non-mp3 files in directories?
On the todo list. mp3 magic bytes seem a bit tricky to pin down. It does currently ignore non-readable files, so you could try that.
You may find my haskell-magic binding to libmagic useful. darcs get http://darcs.complete.org/haskell-magic -- John