Twitter for completed/errors etc instead of email

Want something added? Ask for it here.
Post Reply
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Twitter for completed/errors etc instead of email

Post by psycik »

Wonder if it's possible to add twitter support for similar stuff to what email is used for.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Twitter for completed/errors etc instead of email

Post 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.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Twitter for completed/errors etc instead of email

Post 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).
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

Re: Twitter for completed/errors etc instead of email

Post 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.)
User avatar
interfacelift
Jr. Member
Jr. Member
Posts: 75
Joined: June 19th, 2008, 12:58 am
Location: Coruscant

Re: Twitter for completed/errors etc instead of email

Post by interfacelift »

Twitter has a pretty good API too. It's fairly easy to make calls with cURL.
Post Reply