Automatically download external subs

There's minimal impact for downloading external subs. Automatically
download them if there's a language tag.
This commit is contained in:
angelblue05 2016-09-19 21:46:24 -05:00
parent d0c939b78e
commit bfa3b0f2da
2 changed files with 1 additions and 2 deletions

View file

@ -266,7 +266,7 @@ class PlaybackUtils():
url = ("%s/Videos/%s/%s/Subtitles/%s/Stream.srt"
% (self.server, itemid, itemid, index))
if settings('downloadExternalSubs') == "true" and "Language" in stream:
if "Language" in stream:
filename = "Stream.%s.srt" % stream['Language']
try: