Page 1 of 1

SearchSearchSubtitles problem

Posted: Sat May 23, 2009 5:02 pm
by uniap
Hi, I been using this service one year, but now I'm having problems. I get this response from searchsubtitles:

<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>data</name>
<value>
<boolean>0</boolean>
</value>
</member>

<member>
<name>seconds</name>
<value>
<double>0.31</double>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>

What is the meaning of data 0?? The subtitle used to test exists in the db.

Thanks

Posted: Thu Jun 11, 2009 1:29 am
by uniap
Solved! I'was using langid='sp' (Spanish). Using 'spa' it works.

Something is wrong, because it should work according to documentation:

http://trac.opensubtitles.org/projects/ ... mlRpcIntro

The API is working with either 2 (ISO 639-1) or 3-letter (ISO 639-2) language codes depending on the implementation.

Greetings

Posted: Thu Jun 11, 2009 7:02 pm
by oss
yes, you did not look at "depending on implementation" :)