diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 5692e6f7..31be8d6c 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -266,8 +266,8 @@ class PlaybackUtils(): url = ("%s/Videos/%s/%s/Subtitles/%s/Stream.srt" % (self.server, itemid, itemid, index)) - if settings('downloadExternalSubs') == "true": - + if settings('downloadExternalSubs') == "true" and "Language" in stream: + filename = "Stream.%s.srt" % stream['Language'] try: path = self._download_external_subs(url, temp, filename)