Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
User avatar
oss
Site Admin
Posts: 5882
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

API: Webhooks support implemented

Thu Oct 02, 2014 4:48 pm

Hi guys,

sorry for some server troubles for last days, we are working on that. In meantime also we implemented webhooks. You define webhook url, you send your moviehashes, and once subtitle is linked to moviehash, opensubtitles will POST to your webhook url SearchSubtitles() results - so you will got info, something is new - no need to scan our website in cron. Read here more:

SetSubscribeUrl()
SubscribeToHash()

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Re: API: Webhooks support implemented

Fri Oct 03, 2014 7:58 pm

This is nice. Some servers will stop hitting OS so much this way. I'll see about implementing this in SolEol using my own server as intermediary.

Currently several parts of the web and the API throw errors and 404. I assume it's temporary?
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
oss
Site Admin
Posts: 5882
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: API: Webhooks support implemented

Sat Oct 04, 2014 5:02 am

It is temporary, we got some serious problems last days. It is possible we have to shutdown API in high loads

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Re: API: Webhooks support implemented

Sat Oct 04, 2014 2:13 pm

It is temporary, we got some serious problems last days. It is possible we have to shutdown API in high loads
That's understandable, will there be any kind of special xmlrpc error code for our API users so programs can present the error gracefully?
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
oss
Site Admin
Posts: 5882
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: API: Webhooks support implemented

Sat Oct 04, 2014 4:35 pm

503 Service Unavailable

I can change it, if needed.

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Re: API: Webhooks support implemented

Sat Oct 04, 2014 8:38 pm

503 Service Unavailable

I can change it, if needed.
Oh. I was getting 404s when trying to log into the web. Must've been something else.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
oss
Site Admin
Posts: 5882
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: API: Webhooks support implemented

Sat Oct 04, 2014 9:40 pm

that was different issue.

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Re: API: Webhooks support implemented

Sat Oct 04, 2014 9:48 pm

that was different issue.
Gotcha
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

guidupuy
Posts: 16
Joined: Wed Dec 12, 2012 6:33 pm

Re: API: Webhooks support implemented

Wed Oct 15, 2014 8:30 am

Still getting tons of "Service unavailable" errors over here... Any news when this will be resolved?

User avatar
oss
Site Admin
Posts: 5882
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: API: Webhooks support implemented

Thu Oct 16, 2014 5:10 pm

well, we are working to solve this issue. Web is solved, now API is coming. It seems we need to order another server for API requests, load 50, cpu usage 2000%. But first I will check xdebug output, if there is some leak...sorry for that.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 13 guests