Post Processing script to send a tweet with the download
- Download this repo
- Move the two script files (send_tweet.py & send_standalone_tweet.py) to your Sabnzbd scripts directory
- Install tweepy
- sudo apt-get install python-pip
- sudo pip install tweepy
- Create a twitter account (or use an existing)
- Create a twitter application with that account (http://iag.me/socialmedia/how-to-create-a-twitter-app-in-8-easy-steps/)
- Make sure it is read & write
- Open send_tweet.py and replace the variables in the file with your variables from twitter
Given that you can only assign one post processing script to a given category in Sabnzbd you may need to edit the CouchPotato and/or Sickbeard scripts to piggyback on them. Follow the instructions for each below if you want to piggy back on the CouchPotato script or Sickbeard script that are already running.
- Follow General Instructions
- Open sabToCouch.py
- Add "import send_tweet" under "import autoProcessMovie"
- Add "send_tweet.send_tweet(sys.argv[3])" under "autoProcessMovie.process(sys.argv[1], sys.argv[2], sys.argv[7])"
- Profit!!!!!
- Follow General Instructions
- Open sabToCouch.py
- Add "import send_tweet" under "import autoProcessMovie"
- Add "send_tweet.send_tweet(sys.argv[3])" under "autoProcessTV.processEpisode(sys.argv[1], sys.argv[2])"
- Profit!!!!!!
- Follow General Instructions
- Open Sabnzbd in a browser
- Navigate to Config
- Navigate to Categories in Config
- Choose "send_standalone_tweet.py" for any categories that you want to trigger tweets
- Profit!!!!!