Skip to content

Commit

Permalink
fix: add processing of PUSH_MEDIA_PROGRESS_CHANGE
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Oct 13, 2019
1 parent 19ed157 commit 2b4a9bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/alexa_media/__init__.py
Expand Up @@ -702,7 +702,8 @@ async def ws_handler(message_obj):
hass.bus.async_fire(
f'{DOMAIN}_{hide_email(email)}'[0:32],
{'push_activity': json_payload})
elif command in ('PUSH_AUDIO_PLAYER_STATE', 'PUSH_MEDIA_CHANGE'):
elif command in ('PUSH_AUDIO_PLAYER_STATE', 'PUSH_MEDIA_CHANGE',
'PUSH_MEDIA_PROGRESS_CHANGE'):
# Player update/ Push_media from tune_in
if (serial and serial in existing_serials):
_LOGGER.debug("Updating media_player: %s",
Expand Down

0 comments on commit 2b4a9bb

Please sign in to comment.