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

Update media_player.py #4

Closed chicaneau closed 1 year ago

chicaneau commented 1 year ago

3

I changed the media_player.py script to check for media type music instead of audio/. I have tested and media_player is now able to play mp3's for me with media_content_type = music

LAB02-Admin commented 1 year ago

This is really nice @chicaneau, I was just starting to investigate this (as TTS has been reported to fail as well) and your PR fixes both. Thank you ❤️