plexHelper.sh 271 B

1234567891011121314
  1. #!/bin/bash
  2. # Wait for the media share to be mounted
  3. if ! ~/bin/video/isMediaMounted; then
  4. ~/bin/video/mountMedia
  5. sleep 5
  6. exit 1
  7. fi
  8. # Kill previous instances
  9. killall Plex
  10. # Exec
  11. exec '/Applications/Zach/Media/Plex Home Theater.app/Contents/MacOS/Plex Home Theater'