Page 1 of 1

Further Notification Flexibility

Posted: August 31st, 2012, 7:44 pm
by dogzipp
This feature would fall under Notifications. You can call it "Enable URL notifications".

Here you enter a URL that includes a variable name that get's replaced by the message being notified by SABnzb. An option for username password would also help

This would allow us to use other APIs to enable notification (besides Growl). For example, our own projects, or even external notifications services (like notifo, notify my android phone, notify my windows phone, etc).

For example, for NOTIFO

https://api.notifo.com/v1/send_notifica ... d&msg=%msg% (HTTP posted along with your username and password).

Or displaying a nice Notification on your XBMC screen:

http://127.0.0.1:8082/xbmcCmds/xbmcHttp ... bnzbd,%msg%))

%msg% being the string SABnzbd sends to Growl for example.

There are lots of options, and the flexibility is very open.

Of course, a more complete implementation would be to be:

[] Enable URL notifications
URL address: ______________________ (including http/https and port number).
HTTP params: _____________________ (pairs of "&name=value")
Username: ____________ (optional)
Password: ____________ (optional)
Method: [post] or [get]

I believe this could be a very powerful tool to add to SABnzbd. Eventually with support for SABnzbd user script parameters (like %category% or %cleanname% or %groupname%). Final name support would be great (the final TV or Movie name, cleaned up)

Thanks for considering it.

Re: Further Notification Flexibility

Posted: September 1st, 2012, 1:34 am
by sander
Can't you do this right now via a post-processing script? Just a "wget https://www.blabla.com/blabla/$1/$2/"?