LAB02-Research / HASS.Agent-Integration

HASS.Agent's Home Assistant integration. Adds notifications and mediaplayer capabilities to HASS.Agent - a Windows based client (companion app) for Home Assistant.
MIT License
101 stars 17 forks source link

Can't play MP3 to media_player since upgrading to this integration #3

Closed chicaneau closed 1 year ago

chicaneau commented 1 year ago

I just switched over from the old standalone media_player integration to this one. I now can't play mp3's via service call.

See below for error, strangely it won't accept 'music' as the media_content_type

Logger: custom_components.hass_agent.media_player
Source: custom_components/hass_agent/media_player.py:287
Integration: HASS.Agent ([documentation](https://github.com/LAB02-Research/HASS.Agent-Integration), [issues](https://github.com/LAB02-Research/HASS.Agent-Integration/issues))
First occurred: 8:21:05 AM (5 occurrences)
Last logged: 8:28:33 AM
Invalid media type 'music'. Only music is supported!
LAB02-Admin commented 1 year ago

Fixed per your PR, thanks ❤️