There are several things you can do with iTunes in the OSX terminal.
Get the currently playing track name:
Get the currently playing artist name:
Play the next song:
Play the previous song:
Pause playback:
Resume playback:
Mute playback:
Unmute playback:
Quit iTunes:
Comments