Skip to content

Instantly share code, notes, and snippets.

@andregumieri
Created November 7, 2013 17:17
Show Gist options
  • Save andregumieri/7358269 to your computer and use it in GitHub Desktop.
Save andregumieri/7358269 to your computer and use it in GitHub Desktop.
Little bash script to Mac that kills and reopen iTunes. Sometimes iTunes has some problems to stream to Apple TV that is resolved by killing it and opening it again.
#!/bin/bash
killall iTunes
osascript -e "tell application \"iTunes\" to open"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment