Fix some KeyErrors
This commit is contained in:
parent
b1e2791ca8
commit
cc347d5654
1 changed files with 33 additions and 23 deletions
|
@ -79,11 +79,21 @@ PLEX_TRANSIENT_TOKEN = None
|
|||
PLAYER_STATES = {
|
||||
1: {
|
||||
'type': 'movie',
|
||||
'time': 0,
|
||||
'totaltime': 0,
|
||||
'time': {
|
||||
'hours': 0,
|
||||
'minutes': 0,
|
||||
'seconds': 0,
|
||||
'milliseconds': 0
|
||||
},
|
||||
'totaltime': {
|
||||
'hours': 0,
|
||||
'minutes': 0,
|
||||
'seconds': 0,
|
||||
'milliseconds': 0
|
||||
},
|
||||
'speed': 0,
|
||||
'shuffled': False,
|
||||
'repeat': '0',
|
||||
'repeat': 'off',
|
||||
'position': -1,
|
||||
'playlistid': -1,
|
||||
'currentvideostream': -1,
|
||||
|
|
Loading…
Reference in a new issue