Page 1 of 1

Can't get tag in SearchSubtitles to work

Posted: Sat Mar 31, 2018 5:51 pm
by Nadahar
I'm doing some debugging because I see that too many searches end up as fulltext searches making it both slow and inaccurate.

While studying what's happening, I can't find that "tag" search give any result for any of those I have tested. The result is that it falls back to fulltext, given that hash and IMDB search has already failed.

What I specify in "tag" is simply the file name, for example:

Code: Select all

<methodCall> <methodName>SearchSubtitles</methodName> <params> <param> <value> <string>xxxxxxxxxxxxxxxx</string> </value> </param> <param> <value> <array> <data> <value> <struct> <member> <name>sublanguageid</name> <value> <string>nor,dan,swe,eng,ger</string> </value> </member> <member> <name>tag</name> <value> <string>Captain Phillips 2013 BluRay 1080p x264 DD5.1 FLiCKSiCK.mp4</string> </value> </member> </struct> </value> </data> </array> </value> </param> </params> </methodCall>
The result is:

Code: Select all

<methodResponse> <params> <param> <value> <struct> <member> <name>status</name> <value> <string>200 OK</string> </value> </member> <member> <name>data</name> <value> <array> <data/> </array> </value> </member> <member> <name>seconds</name> <value> <double>0.016</double> </value> </member> </struct> </value> </param> </params> </methodResponse>
I've verified that the "movie name" is registered, when I search the opensubtitles.org "manually" for "Captain Phillips 2013 BluRay 1080p x264 DD5.1 FLiCKSiCK.mp4" I find matching subtitles (5977020, 5513201, 5483346, 5481809 and 5481642).

Why is that? Am I doing something wrong? I understand the documentation as if this should return the same subtitles.

Re: Can't get tag in SearchSubtitles to work

Posted: Sat Nov 17, 2018 5:51 am
by oss
we had to turn off tag support searching for various reasons, the most important is speed.