Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save XxUnkn0wnxX/bf3d848232f4a71b6556 to your computer and use it in GitHub Desktop.
Save XxUnkn0wnxX/bf3d848232f4a71b6556 to your computer and use it in GitHub Desktop.
#!/usr/local/bin/bash
source ~/.bash_profile
python ~/"Apps/SickRage/contrib/nzbToMedia/nzbToSickBeard.py" "$@"
# this how the script should look like only the 1st 3 lines. edit script with path to ur Locations
# it is very important "$@" is set last
# be sure you have /usr/local/bin on top in /etc/paths & you have a working .bash_profile in your Home Directory
# with all the proper paths set for Homebrew use,
# only python via brew installed all other copys removed (dont touch the one that Belongs in System)
# #!/usr/local/bin/bash Use #!/usr/bin/bash at the start of the script if you are not using the brewed version.
# save the script as nzbTomedia.sh, open terminal type in chmod 777 then drag the file onto the terminal window and hit enter.
# now place in the folder where you keep all your scipts for SabNZB. & go back to category’s and change nzbToSickBeard.py to your script and save.
@XxUnkn0wnxX
Copy link
Author

XxUnkn0wnxX commented Sep 14, 2018

2018 Update: SickChill LaunchAgent macOS [Runs On Boot] - Use this updated ver of getting things to run.

I utilise Paths.plist & /etc/paths to run nzbtomedia fine without any work around scripts.

i cannot stress enough, use this new method 1st before referring to these old guides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment