Hi all,
This is my first post on the forum and I hope you find it useful.
Using this small perl post-processing script and the free http://www.notifo.com service, it's possible to get sabnzbd to send push notifications to your iOS device once a download has completed.
Example screenshots:
First, you have to register for an account at Notifo (disclaimer: I've got nothing to do with them - I found it recently and use it to send me various notifications from some of my Unix servers) - http://www.notifo.com .
Once you're registered, go to your settings page http://notifo.com/user/settings - this contains your username and apikey - you'll need these in a moment.
Note you'll also need to install the Notifo iOS application. You can find this in the iTunes app store and in the App Store application on your iOS device.
Download the script from http://prowl.trollied.net/notifo.pl, and save it to your sabnzbd Post-Processing Scripts Folder (you can find the location by looking in Config->Folders. If a folder isn't already defined, create one on your filesystem and add the path in the empty box).
Next open the script in your editor of choice (notepad, ultraedit, vim, emacs, textmate, whatever...) and change the 2 lines that look like this:
Code: Select all
my $notifousername = 'yourusernamehere';
my $notifoapikey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
Linux/MacOS
The script should work out of the box (I've tested on Snow Leopard and Ubuntu 10.10). Just make sure it's executable. Do a chmod +x notifo.pl if unsure.
If not, you need to install the perl bundle Bundle::LWP.
In Ubuntu/Debian:
Code: Select all
sudo perl -MCPAN -e 'install Bundle::LWP'
[url=http://perl%20-MCPAN%20-e%20'install%20Bundle::LWP']perl -MCPAN -e 'install Bundle::LWP'[/url]
Windows
Install Activeperl - http://www.activestate.com/activeperl/downloads - pick 64-bit or 32-bit depending on your windows version.
I've tested on Windows 7 64-bit, and it works perfectly.
In sabnzbd, choose the script to Config->Switches->Default User Script.
Once all of the above is complete, launch the Notifo app on your iOS device, login with your username and password & everything should be perfect!
Any questions, let me know & I'll get back to you as soon as possible.
Cheers,
Phil
Edit: I'll knock up a Python version tomorrow so that the Windows folks don't need ActivePerl