tune-control is a tiny command line program for Mac OS X that makes controlling iTunes or Spotify from shell a walk in a park. I wrote it because I often find myself working remotely on my MacBook and I need a way to control Spotify without physical access to the machine.
The program is dead simple, e.g.
$ tune-control play
will start playing (or unpause) the current track.
For more info see the app’s page on GitHub.
So, if you’d like to give it a try grab the source here or the binary (Intel-only).
PS. This is probably the stupidest piece of software I’ve written in the recent months :).