1 2 3 4
#!/bin/bash osascript -e 'tell application "iTunes" to get name of current track' osascript -e 'tell application "iTunes" to get artist of current track'