HellaTweet

What is HellaTweet? HellaTweet is a way to update a twitter feed when HellaNZB finishes with a file

Download it

Click Here to Download the script - hellatweet.rb.gz


Setup

Setup is dead simple

  1. Get a twitter account
  2. Download the script to your media server
  3. Unzip it - gunzip hellatweet.rb.gz
  4. Make the file executable - chmod +x hellatweet.rb (may need to use sudo)
  5. Edit the hellatweet.rb file with your twitter information
  6. Edit your hellanzb.conf and add this to the bottom of the file - Hellanzb.EXTERNAL_HANDLER_SCRIPT = '/path/to/hellatweet.rb'
  7. Sit back and enjoy your tweets

Config Params

twitter_email - The email address associated with your twitter account
twitter_password - The password for your twitter account
showtype - Tweet the successfulness of the file download/processing
showarch - Tweet the archive name that has finished (the nzb file name)
showdest - Tweet the directory that the finished file is in
showelapsed - Tweet the elapsed time of the post-processing
showparmsg - Tweet any par messages (usually par errors)


Troubleshooting

This script was written and tested on ubuntu linux. The most common issue is the shebang (#!) at the top of the file pointing to the wrong location for ruby

To test this, run the application from the command line with 5 arguments like this: './hellatweet.rb test my hellatweet script output'

You will get an unknown interpreter error if the shebang is wrong. To fix this, just type 'which ruby' on the command line and replace /usr/bin/ruby at the top of the file with the output of that command


Contact

If you are still stuck, just drop me an email and I can help:
Check out my blog: mikeheijmans.com

HellaTweet is Copyright © 2009 Mike Heijmans under the MIT License