'Update all the state properties with the passed in dictionary.'

def update_state(self, state_hash):

    self.player_state = state_hash.get('player_state', None)
    self.current_volume = state_hash.get('volume', 0)
    self.muted = state_hash.get('muted', None)
    self.current_title = state_hash.get('name', None)
    self.current_album = state_hash.get('album', None)
    self.current_artist = state_hash.get('artist', None)
    self.current_playlist = state_hash.get('playlist', None)
    self.content_id = state_hash.get('id', None)
