This is a command line shell for queuing and playing music tracks.
It also extracts id3 tags from audio files for faster search.
This may may be platform independent but at this stage has only been used on mac os x
Here you sit expectantly in front of a computer at the command line.
gem install hearken
Tags are currently extracted using ffmpeg. On mac os x, this can be installed easily using brew:
brew install ffmpeg
Tracks are played using sox (afplay is preinstalled on a mac but does not support as many audio formats) which can also be installed with brew:
brew install sox
Growl notification (as new tracks are played) will work but only if 'growlnotify' is detected on the path.
Will create a track index at ~/.hearken/music.
Note that this will take a long time first time you run it if you have a large collection of music. Subsequent runs will only query tags for new or modified files so will be very fast.
The index can be regenerated while the console is running and reloaded using the 'reload' command.
This enters an interactive prompt where you can start/stop the player, search and enqueue tracks.
The queue will be persisted to ~/.hearken/queue
will list all commands
will describe the use and purpose of a particular command
search iver bon
Searches for tracks with 'bon' and 'iver' in the track, artist or album name (this is case insensitive).
Results will be displayed and the ids will be added to the clipboard (for convenient pasting to the '+' command).
+ abc-f 123 456
Enqueues tracks with ids abc, abd, abe, abf, 123 and 456
Starts the player
Stops the player
Stops and restarts the player (which will kill the currently playing track)
Tells last.fm that you love the current track (this will do nothing if last.fm is not configured or the player is stopped)
rm iver bon
Removes any enqueued track with 'bon' and 'iver' in the track, artist or album name
Runs through a wizard to configure scrobbling to last.fm
Turns scrobbling on (has no effect if scrobbling has not been configured)
Turns scrobbling off