Page 1 of 1
Notifo notification at completed download
Posted: September 3rd, 2011, 1:41 am
by activ
Hi guys,
I just stumbled onto something called Notifo, and thought I'd try and make it send me a notification on my Iphone once a download finishes in Sabnzbd. To my surprise it was very easy to get working.
Here's what I dd:
-Create an account at the Notifo website (
http://notifo.com/)
-Install this:
https://github.com/mrtazz/notifo.py (Needs python installed)
-Create a post processing script for SABnzbd with the following content
Code: Select all
#!/bin/bash
/share/MD0_DATA/.qpkg/Python/bin/notifo_cli.py -u [username goes here] -s [API key here] -n SabNZBD SABnzbd finished download of $3
echo "0"
exit
You might need to adjust the path to where your Notifo_cli is.
-Put your script in the SABnzbd scripts folder and select it as post processing script.
-install Notifo for Iphone from the appstore
-Start notifo on your Iphone and log in to the service.
-Done, that is all!
Hope this is usefull to someone.
Re: Notifo notification at completed download
Posted: September 7th, 2011, 1:41 pm
by war59312
Nice, thanks. Bookmarked until I get my iPhone 5 next year.
Re: Notifo notification at completed download
Posted: September 23rd, 2011, 8:55 am
by bbaraniec
I was using Notifo but for some reason sometimes it was working sometimes not.
The easiest way if you don't use SickBeard or CouchPotato (because they provide notification like prowl or notifo) is:
- go to
https://www.prowlapp.com and create account
- under API Keys you will find your API e-mail
- go to SAB settings, under e-mail configure your Notifications
Re: Notifo notification at completed download
Posted: September 23rd, 2011, 9:09 am
by inpheaux
Re: Notifo notification at completed download
Posted: September 24th, 2011, 1:29 am
by activ
Shame, it was nice.
Re: Notifo notification at completed download
Posted: September 24th, 2011, 12:15 pm
by Mar2zz
I made a prowl in bash. Hope it works, I don't know how to test it:
Code: Select all
#!/bin/sh
# Prowl sabnzbd-script by Mar2zz v0.1
# There is no loggin at all to make this script compatible with Sabnzbd's pre-queue-user scripts, but it can be used as postprocessor to.
# http://wiki.sabnzbd.org/user-pre-queue-script
# If you want to see what's happening, remove all /dev/null's
### Note: wget needs to be installed for this (e.g. sudo apt-get install wget)
################################
### POSTPROCESSING VARIABLES ###
################################
# input this is what sabnzbd feeds to this script after downloading and can be used in a notification)
directory=$1 # 1 The final directory of the job (full path)
nzb_full=$2 # 2 The original name of the NZB file
nzb=$3 # 3 Clean version of the job name (no path info and ".nzb" removed)
index=$4 # 4 Indexer's report number (if supported)
category=$5 # 5 User-defined category
group=$6 # 6 Group that the NZB was posted in e.g. alt.binaries.x
status=$7 # 7 Status of post processing. 0 = OK, 1=failed verification, 2=failed unpack, 3=1+21
http_nzbname=$(echo $nzb | sed "s/ /%20/g") # nzbname made compatible for urls (replace spaces by %20)
######################
#### PROWL NOTIFY ####
######################
### If you want to be notified on snatched downloads with Prowl, please specify your prowl credentials.
### Priority options
# Very Low -2
# Moderate -1
# Normal 0
# High 1
# Emergency 2
### EDIT VARIABLES
prowl_api='xxxxxxxxxxxxxxxxx' # apikey goes here
prowl_prio='0' # priority goes here, see list for options
prowl_title='Downloaded' # jobtitle goes here, replace invalid html-characters with %20 (which shows as a space)
prowl_notify () {
if ! wget -q --delete-after "https://prowl.weks.net/publicapi/add?apikey=$prowl_api&priority=$prowl_prio&application=Sabnzbd&event=$prowl_title&description=$http_nzbname") | xargs echo > /dev/null
then
echo "Error in Prowl-notification; $http_jobname @ https://prowl.weks.net/publicapi/add?apikey=$prowl_api failed!" > /dev/null
fi
}
prowl_notify # comment this line if you do not want to use prowl-notify.