Skip to content

Commit

Permalink
bugfix in subtitle handling
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDavici committed Mar 11, 2015
1 parent 7db5562 commit bc4a0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DP_PlexLibrary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bc4a0b9

Please sign in to comment.