Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
ksq
Posts: 2
Joined: Fri May 17, 2019 6:45 pm

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

Tue May 21, 2019 3:16 pm

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.

User avatar
oss
Site Admin
Posts: 5878
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

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

Tue May 21, 2019 4:16 pm

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.

ksq
Posts: 2
Joined: Fri May 17, 2019 6:45 pm

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

Tue May 21, 2019 10:03 pm

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!

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 34 guests