Check Movie Hash Returns Wrong results

For developers and developing site - suggestions, coding problems, API questions, new applications...
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.

Check Movie Hash Returns Wrong results

Postby sarathkcm » Fri Aug 10, 2012 10:17 am

When I search the website directly with Movie Hash = 040058d7ad2c6493, I get Sherlock Holmes : Game of Shadows (2011) as the result, That's cool, which is the expected result....
But when I send an XML request to the opensubtitles api, for identifying the movie (checkMovieHash) with Moviehash = 040058d7ad2c6493, I get a 1965 movie (Sherlock Holmes in the Singular Case of the Plural Green Mustache) as the Best Matched Result....

Same error in the case of moviehash=3090e945034b0662, which gives "Terminator 3: Rise of the Machines (2003)" as result, but with xml request it Gives "Terminator Salvation" as the result.......



What may me the cause of the error? Please, I'm new to subtitles.org

I'm using the "OS Test User Agent", with language as "en"... Will that restrict the movie search only to those which have subtitles in english? If yes, what shall i use instead of language as "en" to have access to all movies under all languages?

And lastly, are those wrong entries in database, or shall i look more into possible bugs in my code??? (I've looked for a couple hours, and found no bugs)


Any advise will be thankfully received..... :)
sarathkcm
 
Posts: 28
Joined: Thu Aug 09, 2012 3:11 pm

Re: Check Movie Hash Returns Wrong results

Postby sarathkcm » Fri Aug 10, 2012 12:36 pm

sarathkcm
 
Posts: 28
Joined: Thu Aug 09, 2012 3:11 pm

Re: Check Movie Hash Returns Wrong results

Postby oss » Sat Aug 11, 2012 5:02 am

I will look on this again.
User avatar
oss
Site Admin
 
Posts: 2205
Joined: Sat Feb 25, 2006 11:26 pm


Return to Developing

Who is online

Users browsing this forum: No registered users and 0 guests