Diaoul/subliminal — comment on commit eef578b939d0a49c6c67631d6e83189e1a47a85e
File:  line 0
By Diaoul:

Indeed, it already has a imdbid as attribute because OpenSubtitles can use it.
For OpenSubtitles i defined a matching_confidence list that can be used to define a confidence through item positioning in the list.

conf = ['moviehash', 'imdbid', 'fulltext']
confidence = 1 - conf.index(matching_method) / len(conf)

There will also be the possibility to compute a confidence that a subtitle matches a video using release and keywords attributes, but that's another feature.