Page 1 of 1

[XML-RPC] SearchSubtitles and the MovieHash json data response

Posted: Tue May 21, 2019 3:16 pm
by ksq
Hi,

I'm searching the subtitles by "SearchSubtitles" function and the "query" or "imdbid" parameters.
The json data response always contains the "MovieHash" value of 0.

Is there any possibility to get the real "MovieHash" for subtitle info data?
Why the server returns the "MovieHash" json key if it always equals to 0?

Thank you.

Re: [XML-RPC] SearchSubtitles and the MovieHash json data response

Posted: Tue May 21, 2019 4:16 pm
by oss
Hi

we are not revealing moviehash and moviesize when querying by fulltext or imdbid. One subtitle file can contain many moviehashes. MovieHash is present and contains 0, because some parsers expect to have MovieHash in response.

Re: [XML-RPC] SearchSubtitles and the MovieHash json data response

Posted: Tue May 21, 2019 10:03 pm
by ksq
Oh, I just realized that it actually can be several MovieHashes for the subtitle file...
The same movie file can be encoded with different codecs/settings and the result hash will be different.

Thanks!