From 2b4a9bb434043079a2b58654c657e589aea5210e Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Sat, 12 Oct 2019 22:56:35 -0700 Subject: [PATCH] fix: add processing of PUSH_MEDIA_PROGRESS_CHANGE --- custom_components/alexa_media/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/alexa_media/__init__.py b/custom_components/alexa_media/__init__.py index f8297c01..bd732c0c 100644 --- a/custom_components/alexa_media/__init__.py +++ b/custom_components/alexa_media/__init__.py @@ -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",