From 5422b6d233dc72e6a913209f93d1f7ef0e85d0b6 Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 23 Nov 2018 08:42:29 +0100 Subject: [PATCH] Fix AttributeError --- resources/lib/plexbmchelper/subscribers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/plexbmchelper/subscribers.py b/resources/lib/plexbmchelper/subscribers.py index 0a6f7c27..43c966b1 100644 --- a/resources/lib/plexbmchelper/subscribers.py +++ b/resources/lib/plexbmchelper/subscribers.py @@ -101,9 +101,9 @@ def update_player_info(playerid): """ Updates all player info for playerid [int] in state.py. """ - app.PLAYSTATE.playerstates[playerid].update(js.get_player_props(playerid)) - app.PLAYSTATE.playerstates[playerid]['volume'] = js.get_volume() - app.PLAYSTATE.playerstates[playerid]['muted'] = js.get_muted() + app.PLAYSTATE.player_states[playerid].update(js.get_player_props(playerid)) + app.PLAYSTATE.player_states[playerid]['volume'] = js.get_volume() + app.PLAYSTATE.player_states[playerid]['muted'] = js.get_muted() class SubscriptionMgr(object):