Fix KeyError for Kodi playerids

This commit is contained in:
croneter 2018-02-03 16:43:39 +01:00
parent fd4422fa65
commit a6ce6ae8d2

View file

@ -91,15 +91,15 @@ ACTIVE_PLAYERS = []
# Kodi player states - here, initial values are set # Kodi player states - here, initial values are set
PLAYER_STATES = { PLAYER_STATES = {
0: {},
1: {}, 1: {},
2: {}, 2: {}
3: {}
} }
# The LAST playstate once playback is finished # The LAST playstate once playback is finished
OLD_PLAYER_STATES = { OLD_PLAYER_STATES = {
0: {},
1: {}, 1: {},
2: {}, 2: {}
3: {}
} }
# "empty" dict for the PLAYER_STATES above # "empty" dict for the PLAYER_STATES above
PLAYSTATE = { PLAYSTATE = {