About
tunes
is a command-line interface to iTunes, written in Python using curses.
It passes commands to iTunes through AppleScript.
Download
Source (zipped Python script, 4 KB)
Before use, you should change the variable currentPlaylist
to your target playlist's name.