From a33a9e3baccca8f38735a62e2ea86365dc70b1fc Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 11 Feb 2018 18:53:45 -0600 Subject: [PATCH] Fix subtiles detection Darn copy paste... --- resources/lib/playutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 8e63add6..2b1ff9e1 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -435,7 +435,7 @@ class PlayUtils(): else: prefs += "&SubtitleStreamIndex=%s" % index - elif (skip_dialog in (0, 2) and len(subs_streams) > 1): + elif skip_dialog in (0, 2) and len(subs_streams): selection = list(['No subtitles']) + list(subs_streams.keys()) resp = dialog.select(lang(33014), selection) if resp: