mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 09:23:17 -04:00
Update currently playing media id in Openhome (#180869)
This commit is contained in:
@@ -116,6 +116,8 @@ class OpenhomeDevice(MediaPlayerEntity):
|
||||
self._attr_media_title = track_information.get("title")
|
||||
if artists := track_information.get("artist"):
|
||||
self._attr_media_artist = artists[0]
|
||||
self._attr_media_content_id = track_information.get("uri")
|
||||
self._attr_media_content_type = MediaType.MUSIC
|
||||
|
||||
if self._device.volume_enabled:
|
||||
self._attr_supported_features |= (
|
||||
|
||||
Reference in New Issue
Block a user