wiki:XmlRpcReportWrongMovieHash

Version 1 (modified by guest, 15 years ago) (diff)

--

ReportWrongMovieHash

Intro

report wrong subtitle file <--> video file combination


Description

struct ReportWrongMovieHash(string $token, string $IDSubMovieFile)

This method is used to report subtitle file <--> video file combination, i.e. subtitle contents are correct but but they are not synchronized to match this video file.

With this method number of reports is counted in database and after a certain number of reports is reached, hash is automatically deleted from the database.


Parameters

struct(
  (string) [token],
  (string) [IDSubMovieFile]
)
token (required)
token string identifying user's session, taken from LogIn output structure.
IDSubMovieFile (required)
identifier of the subtitle file <--> video file combination

Return Values

Output is returned in this structure:

struct(
  (string) [status],
  (double) [seconds]
)

and contains these elements:

status
function result code, see list of status codes
seconds
time taken to execute this command on server

Implementations

There are currently no available sample implementations.


Changelog

Version 1: created this function


Examples

Input

<methodCall>
 <methodName>ReportWrongMovieHash</methodName>
 <params>
  <param>
   <value><string>a41j170ljs0jd6s375t0hp9mf6</string></value>
  </param>
  <param>
   <value><int>39620</int></value>
  </param>
 </params>
</methodCall>

Output

<methodResponse>
 <params>
  <param>
   <value>
    <struct>
     <member>
      <name>status</name>
      <value><string>200 OK</string></value>
     </member>
     <member>
      <name>seconds</name>
      <value><double>0.703</double></value>
     </member>
    </struct>
   </value>
  </param>
 </params>
</methodResponse>

Notes

none yet


See also


Comments

add your comments, hints and suggestions here if you like ...


[Prev] Home [Next]