Skip to content

Commit

Permalink
fix(media_player): remove unncecessary refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Dec 24, 2019
1 parent 9677d27 commit 35bc743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/alexa_media/media_player.py
Expand Up @@ -188,7 +188,7 @@ async def _refresh_if_no_audiopush(already_refreshed=False):
[email]) else None))
if (not already_refreshed and seen_commands and
('PUSH_AUDIO_PLAYER_STATE' not in seen_commands
or 'PUSH_MEDIA_CHANGE' not in seen_commands)):
and 'PUSH_MEDIA_CHANGE' not in seen_commands)):
# force refresh if player_state update not found, see #397
_LOGGER.debug(
"%s: No PUSH_AUDIO_PLAYER_STATE in %s; forcing refresh",
Expand Down

0 comments on commit 35bc743

Please sign in to comment.