Fix some KeyErrors

This commit is contained in:
croneter 2017-12-11 19:24:21 +01:00
parent b1e2791ca8
commit cc347d5654

View file

@ -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,