1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

Revert "Minor change to subtitle code"

This reverts commit 70c5a02580.
This commit is contained in:
echel0n 2014-05-14 18:40:51 -07:00
parent eeb632fd0f
commit 93471b15e6

View File

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