diff --git a/homeassistant/components/media_player/kodi.py b/homeassistant/components/media_player/kodi.py index 432ff73c3671a..2636950b4bee6 100644 --- a/homeassistant/components/media_player/kodi.py +++ b/homeassistant/components/media_player/kodi.py @@ -301,4 +301,4 @@ def media_seek(self, position): def play_media(self, media_type, media_id, **kwargs): """Send the play_media command to the media player.""" - self._server.Player.Open({media_type: media_id}, {}) + self._server.Player.Open({"item": {"file": str(media_id)}})