Two quick questions. Both are aimed at a very, VERY, simple command-line script to get a subtitle for a single file.
I'm testing for a very simple executable to get a subtitle for a single avi file. I already get the hash and the filesize. So...
Question #1: Is there a single URL that uses the hash, language and filesize to provide a single list for available subtitles?
I can look for a subtitle with these values:
http://www.opensubtitles.com/en/search2 ... 04a82e79b0
I don't know how to translate this into a simple URL, something like:
http://www.opensubtitles.com/en/search/ ... uageid-eng
Is there a way to do this? A single URL I can use with moviehash and bytesize to get to the subtitle list with /simplexml at the end? (the simple script I have in mind wouldn't really know how to handle redirects).
Question #2: Is there a parameter I can flip when searching that does something equivalent to Google's "I'm feeling lucky"? A single parameter that redirects directly to the actual subtitle file without going through a list to select?
I guess this doesn't exist but it might be a good idea. Having an algorithm that would automatically choose the best-rated or most-downloaded subtitle (or the one uploaded by the best-rated uploader, which would be a great quality vector to apply).
I'm not sure if I'm clear so feel free to make any questions if these seem like good ideas.