Fix KeyError for Kodi playerids
This commit is contained in:
parent
fd4422fa65
commit
a6ce6ae8d2
1 changed files with 4 additions and 4 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue