Alternate solution: The best subtitle for your torrents will, always, be the results turned out by the programs that use the API (or the web applet, if that's still running).
Why? Because they have been matched and, ideally, they are sync'd to your specific video file.
If OpenSubtitles had a way to search by release name things would be easier for the web as well.
In my own program the way I select the best subtitle is through a ranking system:
-Every subtitle starts with a value of 5
-If the sub has ever been marked as "BAD" it's rank becomes -1
-If the subtitle had the season and episode in the name then that's +1
-If the subtitle has been uploaded by a VIP or Platinum user then that's another +1
-The subtitle with the most downloads in the results gets another +1
-If the subtitle has a rating of 7,8 or 9 then that's +1
-If the subtitle has a rating of less than 5 then that's -3
In the end, the subtitle with the biggest ranking above 3 is selected by default. If none is above 3 then no subtitle is selected by default.
[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].