1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 03:22:22 -05:00

Minor change to subtitle code

This commit is contained in:
echel0n 2014-05-14 15:02:25 -07:00
parent f6a264bf5c
commit 70c5a02580

View File

@ -1284,9 +1284,9 @@ class TVEpisode(object):
lang = babel.alpha3
languages.add(babelfish.Language(lang))
video = subliminal.scan_video(self.location)
videos = subliminal.scan_videos([self.location])
providers = sickbeard.subtitles.getEnabledServiceList()
downloadedSubs = subliminal.download_best_subtitles([video], languages, providers)
downloadedSubs = subliminal.download_best_subtitles(videos, languages, providers)
if not len(downloadedSubs):
logger.log(
str(self.show.indexerid) + ": No subtitles found for episode " + str(self.season) + "x" + str(