Changes between Version 74 and Version 75 of XMLRPC


Ignore:
Timestamp:
Oct 2, 2014, 4:44:14 PM (10 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v74 v75  
    875875== !SetSubscribeUrl ==
    876876'''array !SetSubscribeUrl( $token, $url )'''
     877
    877878Set webhook $url. Use HTTP (HTTPS was not tested). Example $url can be 'http://www.opensubtitles.org/addons/webhook-test.php'. To this url will be POSTed results of !SubscribeToHash()
    878879Example output:
     
    889890All field are self-explained.
    890891
     892----
     893
    891894== !SubscribeToHash ==
    892895'''array !SubscribeToHash( $token, array ($moviehash, $moviehash, ... ) )'''
     896
    893897Subscribes to $moviehash. Once subtitle is linked to $moviehash, !SearchSubtitles() results are POSTed to $url (set in !SetSubscribeUrl()). This method is implementation of webhook, it is useful, when you got some moviehashes and you don't want to scan OpenSubtitles for subtitles for performance reason.
    894898
     
    902906)
    903907}}}
     908
    904909'''Fields explanation:'''
    905910All field are self-explained.
    906911
     912----
    907913
    908914== !AutoUpdate ==