Skip to content

Commit e2dabe9

Browse files
committed
Merged pull request
KenV99#10
1 parent 270f13d commit e2dabe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/publishers/player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def getInfo(self):
266266
try:
267267
playerid = player['result'][0]['playerid']
268268
playertype = player['result'][0]['type']
269-
except KeyError:
269+
except (KeyError, IndexError):
270270
playerid = -1
271271
playertype = 'none'
272272
if playertype == 'audio':

0 commit comments

Comments
 (0)