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.
User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Error in SearchSubtitles XMLRPC Method

Mon Oct 26, 2009 1:50 am

Something strange is happening. I seem to be hitting a bug with certain frequency where if a single hash has a single result I won't get anything back.

Let's say I have three files:
1-The Big Bang Theory 1x11 - The Pancake Batter Anomaly.avi
2-The Big Bang Theory 2x23 - The Monopolar Expedition.avi
3-The Big Bang Theory 3x05 - The Creepy Candy Coating Corollary.avi

If I try searching for any of these individually I get zero results back.
If I try searching for 2 and 3 I get results for item 2.
If I try searching for 1 and 2 I don't get any results.
If I try searching for all three I get results for item 2.

I can produce XML requests for each of these things, but it seems to point that the results routine is ignoring results when there is only one and the other file in the query has no results.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

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

Mon Oct 26, 2009 8:30 am

yes, please send me at least filesizes and hashes for those movies. Also I dont understand "If I try searching for any of these individually I get zero results back.", I thought in this case you should get back result for 2. Also I understand what is the problem, but first i need to reproduce it, so send please data.

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Tue Oct 27, 2009 9:05 pm

yes, please send me at least filesizes and hashes for those movies. Also I dont understand "If I try searching for any of these individually I get zero results back.", I thought in this case you should get back result for 2. Also I understand what is the problem, but first i need to reproduce it, so send please data.

Code: Select all

<?xml version="1.0" encoding="utf-16"?> <methodCall> <methodName>SearchSubtitles</methodName> <params> <param> <value> <string>0erg1uec72gdkdar911r80i6k5</string> </value> </param> <param> <value> <array> <data> <value> <struct> <member> <name>moviebytesize</name> <value> <string>183409146</string> </value> </member> <member> <name>sublanguageid</name> <value> <string>eng,spa</string> </value> </member> <member> <name>moviehash</name> <value> <string>6969224ef43c4a10</string> </value> </member> </struct> </value> <value> <struct> <member> <name>moviebytesize</name> <value> <string>183608990</string> </value> </member> <member> <name>sublanguageid</name> <value> <string>eng,spa</string> </value> </member> <member> <name>moviehash</name> <value> <string>3c286537705ae48c</string> </value> </member> </struct> </value> </data> </array> </value> </param> </params> </methodCall>
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Tue Oct 27, 2009 10:00 pm

Forget it. I've found the bug. It was actually in my code. Your comment about left joins over ICQ gave me an idea. It was something similar, in my side. A small change I did so long ago I didn't remember it.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 30 guests