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 = {
|
PLAYER_STATES = {
|
||||||
1: {
|
1: {
|
||||||
'type': 'movie',
|
'type': 'movie',
|
||||||
'time': 0,
|
'time': {
|
||||||
'totaltime': 0,
|
'hours': 0,
|
||||||
|
'minutes': 0,
|
||||||
|
'seconds': 0,
|
||||||
|
'milliseconds': 0
|
||||||
|
},
|
||||||
|
'totaltime': {
|
||||||
|
'hours': 0,
|
||||||
|
'minutes': 0,
|
||||||
|
'seconds': 0,
|
||||||
|
'milliseconds': 0
|
||||||
|
},
|
||||||
'speed': 0,
|
'speed': 0,
|
||||||
'shuffled': False,
|
'shuffled': False,
|
||||||
'repeat': '0',
|
'repeat': 'off',
|
||||||
'position': -1,
|
'position': -1,
|
||||||
'playlistid': -1,
|
'playlistid': -1,
|
||||||
'currentvideostream': -1,
|
'currentvideostream': -1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue