Changes between Version 108 and Version 109 of XMLRPC


Ignore:
Timestamp:
Jun 15, 2016, 6:56:56 AM (8 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v108 v109  
    569569----
    570570
     571== !PreviewSubtitles ==
     572'''array !PreviewSubtitles( $token, array($IDSubtitleFile, $IDSubtitleFile,...) )'''
     573
     574Returns BASE64 encoded gzipped preview for IDSubtitleFile(s). You need to BASE64 decode and ungzip 'data' to get its contents. '''LIMIT''' is for maximum 20 IDSubtitleFiles, others will be ignored.
     575
     576Example output:
     577{{{
     578Array
     579(
     580    [status] => 200 OK
     581    [data] => Array
     582        (
     583            [0] => Array
     584                (
     585                    [encoding] => UTF-8
     586                    [contents] => MQ0KMDA6MDA6MDIsNjkzIC0tPiAwMDowM....
     587                )
     588
     589            [1] => Array
     590                (
     591                    [encoding] => CP932
     592                    [contents] => MQ0KMDA6MDA6MDYsMDAwIC0tPiAwMDow...
     593                )
     594
     595        )
     596
     597    [seconds] => 0.01
     598)
     599}}}
     600
     601----
     602
     603
    571604== !DownloadSubtitles ==
    572605'''array !DownloadSubtitles( $token, array($IDSubtitleFile, $IDSubtitleFile,...) )'''