Update subliminal

This commit is contained in:
Ruud committed 2012-06-16 18:12:41 +02:00
1 parent 79e842951e
commit d3f5f1408e
18 files changed
+1235 -238

No files matched your search

+3 -1
View File
@@ -145,12 +145,14 @@ class Video(object):
lang = guessit.Language(possible_lang)
if lang:
results.append(subtitles.ExternalSubtitle(path, lang))
return results
def __repr__(self):
return '%s(%r)' % (self.__class__.__name__, self.release)
def __hash__(self):
return hash(self.path or self.release)
class Episode(Video):
"""Episode :class:`Video`