From bc4a0b930ab0605d1a91191715cb823f8e0e3f05 Mon Sep 17 00:00:00 2001 From: DonDavici Date: Wed, 11 Mar 2015 21:05:51 +0100 Subject: [PATCH] bugfix in subtitle handling --- src/DP_PlexLibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DP_PlexLibrary.py b/src/DP_PlexLibrary.py index 24e3fd3d..a1f5fec3 100755 --- a/src/DP_PlexLibrary.py +++ b/src/DP_PlexLibrary.py @@ -1633,7 +1633,7 @@ def getSelectedSubtitleDataById(self, server, myId): selected = stream.get('selected', "") if stream['streamType'] == '3' and selected == '1': #subtitle try: - index = stream.get(stream['index'], "-1") + index = stream.get('index', "-1") selectedSubtitle = { 'id': stream['id'], 'index': index,