Fix old playerstate not being copied/reset correctly
This commit is contained in:
parent
93e3d42e23
commit
46adc51cf6
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ def playback_cleanup():
|
|||
for playerid in state.ACTIVE_PLAYERS:
|
||||
status = state.PLAYER_STATES[playerid]
|
||||
# Remember the last played item later
|
||||
state.OLD_PLAYER_STATES[playerid] = dict(status)
|
||||
state.OLD_PLAYER_STATES[playerid] = copy.deepcopy(status)
|
||||
# Stop transcoding
|
||||
if status['playmethod'] == 'Transcode':
|
||||
LOG.debug('Tell the PMS to stop transcoding')
|
||||
|
|
Loading…
Reference in a new issue