Versions in this module Expand all Collapse all v0 v0.2.1 Apr 14, 2015 Changes in this version + var ErrFileSizeTooSmall = errors.New("The file is too short to be hashed (< 64K).") + type Subtitle struct + FileName string + Format string + Hash string + Source SubtitleProvider + URL string + type SubtitleDB interface + Get func(path, language string) error + GetAll func(paths []string, language string) + func GetSubtitleDB() SubtitleDB + type SubtitleProvider interface + Download func(subtitle Subtitle, filePath string) (string, error) + GetSubtitles func(filePath, language string) ([]Subtitle, error) + Name func() string