mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
parent
eeb632fd0f
commit
93471b15e6
@ -1284,9 +1284,9 @@ class TVEpisode(object):
|
|||||||
lang = babel.alpha3
|
lang = babel.alpha3
|
||||||
languages.add(babelfish.Language(lang))
|
languages.add(babelfish.Language(lang))
|
||||||
|
|
||||||
videos = subliminal.scan_videos([self.location])
|
video = subliminal.scan_video(self.location)
|
||||||
providers = sickbeard.subtitles.getEnabledServiceList()
|
providers = sickbeard.subtitles.getEnabledServiceList()
|
||||||
downloadedSubs = subliminal.download_best_subtitles(videos, languages, providers)
|
downloadedSubs = subliminal.download_best_subtitles([video], languages, providers)
|
||||||
if not len(downloadedSubs):
|
if not len(downloadedSubs):
|
||||||
logger.log(
|
logger.log(
|
||||||
str(self.show.indexerid) + ": No subtitles found for episode " + str(self.season) + "x" + str(
|
str(self.show.indexerid) + ": No subtitles found for episode " + str(self.season) + "x" + str(
|
||||||
|
Loading…
Reference in New Issue
Block a user