Changes between Version 59 and Version 60 of XMLRPC


Ignore:
Timestamp:
Aug 12, 2013, 2:15:22 PM (11 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v59 v60  
    110110
    111111== !SearchSubtitles ==
    112 '''array !SearchSubtitles( $token, array(array('sublanguageid' => $sublanguageid, 'moviehash' => $moviehash, 'moviebytesize' => $moviesize, ''imdbid => $imdbid'', ''query'' => 'movie name', "season" => 'season number', "episode" => 'episode number', 'tag' => tag ),array(...)))'''
    113 
    114 Returns information about found subtitles. It is designed making multiple search at once. When nothing is found, 'data' is empty. If sublanguageid is empty, or have value 'all' - it search in every sublanguage, you can set it to multiple languages (e.g. 'eng,dut,cze'). Tag is index of  movie filen ame or subtitle file name, or release name - currently we index more than 40.000.000 of tags.
     112'''array !SearchSubtitles( $token, array(array('sublanguageid' => $sublanguageid, 'moviehash' => $moviehash, 'moviebytesize' => $moviesize, ''imdbid => $imdbid'', ''query'' => 'movie name', "season" => 'season number', "episode" => 'episode number', 'tag' => tag ),array(...)), 'limit' => 500)'''
     113
     114Returns information about found subtitles. It is designed making multiple search at once. When nothing is found, 'data' is empty. If sublanguageid is empty, or have value 'all' - it search in every sublanguage, you can set it to multiple languages (e.g. 'eng,dut,cze'). Tag is index of  movie filename or subtitle file name, or release name - currently we index more than 40.000.000 of tags.
    115115
    116116If you define moviehash and moviebytesize, then imdbid and query in same array are ignored. If you define imdbid, then moviehash, moviebytesize and query is ignored. If you define query, then moviehash, moviebytesize and imdbid is ignored. Pseudocode:
     
    129129}}}
    130130 * Some data (IDSubMovieFile, !MovieHash, !MovieByteSize, MovieTimeMS) are set to 0, when searching by imdbid or query
    131  * Max results is set to 500 found items in total
     131 * Max results is set to 500 found items in total, optional argument limit (outside of array!) - you can control limit of total results < 500
    132132 * Season and Episode are not mandatory, when using query/imdb searching
    133133 * For perfect matches use moviehash/moviebytesize searching, for movie matches use tag/imdbid searching, if you can not use any of them, use fulltext search (least accurate)