Hi all,
During my morning routine, I’d like to integrate movement more consistently. Therefore I have used the “Confirmable Notification” blueprint to integrate a choice into my morining routine. But upon selecting media to play after that choice is offered, I get an “Unknown Error”, and am unable to browse the media on my LibreELEC raspberry pi. It doesn’t matter if I select the entity, or the device, same error.
This worked previously, as I have a similar evening routine already working, although it doesn’t offer me the choice (which was something still on my to-do list). When I try to select different media in this script, i get the following error:
Before I remove LibreELEC and add it again to only stumble upon the same problem and have my currently working routines stop functioning, is there anywhere I can look to find the cause of this “Unknown” (un-helpful) error?
This seems to be a Home assistant issue, since both Plex and LibreELEC play the same media just fine off of my NAS. Communication with the LibreELEC pi (playback control) also works.
Logs:
Source: components/kodi/browse_media.py:224
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:28:47 (6 occurrences)
Last logged: 11:50:10
[140710812472864] Error handling message: Unknown error (unknown_error) Rutger Daalman from 10.0.0.202 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36)
[140710678469728] Error handling message: Unknown error (unknown_error) Rutger Daalman from 10.0.0.202 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1386, in websocket_browse_media
payload = await player.async_browse_media(media_content_type, media_content_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/kodi/media_player.py", line 845, in async_browse_media
return await library_payload(self.hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/kodi/browse_media.py", line 224, in library_payload
with contextlib.suppress(media_source.BrowseError):
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'homeassistant.components.media_source' has no attribute 'BrowseError'

