[[PageOutline(3-4, Sections)]] == !CheckMovieHash == === Intro === check if video file hashes are already stored in the database ---- === Description === '''struct !CheckMovieHash(string $token, array($moviehash, $moviehash, ...) $hashes)''' Checks if given video file hashes ''hashes'' are already stored in the database. If found, the server will return basic movie information, including IMDb ID, movie title, release year. This information can be then used in client application to automatically fill (or verify) movie info. ---- === Parameters === ''token (required)'':: token string identifying user's session, taken from [wiki:XmlRpcLogIn LogIn] output structure. ''hashes (required)'':: array/list of [wiki:HashSourceCodes video file hashes] ---- === Return Values === Output is returned in this structure: {{{ struct( struct( <-- list of movie info structures struct( <-- movie information structure (movieinfo) (string) [MovieHash], (string) [MovieImdbID], (string) [MovieName], (string) [MovieYear] ) [