PMSHelper.sh 285 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. ~/bin/video/pms/killPMS.sh
  10. # Exec
  11. exec '/Applications/Zach/Media/Plex Media Server.app/Contents/MacOS/Plex Media Server'