Open msx2 opened 9 years ago
@msx2 That's for every movie? I'm trying to debug but not sure what the result was. If you could add a breakpoint, binding.pry, and show what result['data'] is on line #51 Should be an array, only scenario I can think of is that empty results changed or when it's only 1 it's returning string now.
@nofxx I didn't get into the source that much at the time. But I believe this was for the case when the string was returned, because there was only one entry in opensubtitles.org directory for each of the few titles I've checked. After a few days and as more of the subtitles emerged, it seems to work just fine.
But would be awesome if it could handle single result case :)
Will debug the source when I see the issue again.
Yeah, should be it. Gonna give a look when I got some time.
@nofxx FYI, I did result.inspect
in line 51 and it got me:
{"status"=>"200 OK", "data"=>"", "seconds"=>0.005}
and there's one match so far for Extant.S02E09.HDTV.x264-LOL
in opensubtitles.org