Mollerhoj

A two line music player for Mac OS X

Today, I wrote a music player using Gary Bernhardts selecta, and UNIX. Thank you, UNIX.

oh, and I made a nice little demo, using the amazing showterm gem: Here it is. And the code:

1
2
3
#!/bin/sh
MUSIC_HOME="$HOME/Music/iTunes/iTunes Media/Music/"
open "$MUSIC_HOME$(find "$MUSIC_HOME" -type f | sed "s@$MUSIC_HOME@@g" | selecta -s $1)"
Fork me on GitHub
comments powered by Disqus