|
发表于 2024-1-30 09:27:19
|
显示全部楼层
好像不少人都遇到了Unknown Error错误?
Logger: homeassistant.components.websocket_api.http.connection
Source: helpers/network.py:200
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 09:13:18 (1 occurrences)
Last logged: 09:13:18
[546403085760] Error handling message: Unknown error (unknown_error) ***** from ... (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/media_player/init.py", line 1223, in websocket_browse_media
payload = await player.async_browse_media(media_content_type, media_content_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ha_cloud_music/media_player.py", line 163, in async_browse_media
return await self.cloud_music.async_browse_media(self, media_content_type, media_content_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ha_cloud_music/browse_media.py", line 572, in async_browse_media
playlist = await cloud_music.async_get_playlist(id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ha_cloud_music/cloud_music.py", line 176, in async_get_playlist
return list(map(format_playlist, res['songs']))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ha_cloud_music/cloud_music.py", line 171, in format_playlist
url = self.get_play_url(id, song, singer, MusicSource.PLAYLIST.value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ha_cloud_music/cloud_music.py", line 121, in get_play_url
base_url = get_url(self.hass, prefer_external=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 200, in get_url
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError |
|