Page 1 of 1
Twitter for completed/errors etc instead of email
Posted: September 28th, 2009, 2:37 pm
by psycik
Wonder if it's possible to add twitter support for similar stuff to what email is used for.
Re: Twitter for completed/errors etc instead of email
Posted: September 28th, 2009, 3:26 pm
by shypike
If Twitter has script-based support, someone could write a script
that SABnzbd will call at the end of a download job.
The script will receive enough parameters to create a decent Tweet.
It's very unlikely that we will ever create a direct Twitter interface.
It's just too far removed from the actual purpose of SABnzbd.
Re: Twitter for completed/errors etc instead of email
Posted: September 28th, 2009, 3:38 pm
by psycik
fair enough. Is there a completed/error script that is called?
Since yes you can script a tweet (I have done on linux before, and I'm sure on windows it would be fairly easy).
Re: Twitter for completed/errors etc instead of email
Posted: September 28th, 2009, 5:29 pm
by inpheaux
This really shouldn't be hard with a script.
See Here. Just write a script, dump it in your script directory, and set it up to be your default script.
(Just be careful about what you have it sending out, i mean, remember that if you post it to twitter, the whole world will be able to see what stuff you're downloading off usenet.)
Re: Twitter for completed/errors etc instead of email
Posted: September 29th, 2009, 12:13 am
by interfacelift
Twitter has a pretty good API too. It's fairly easy to make calls with cURL.