Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка просмотра медиа после обновления HA Core 2024.1.0 #430

Closed
Prozorovshurik opened this issue Jan 5, 2024 · 15 comments
Labels
bug Something isn't working
Milestone

Comments

@Prozorovshurik
Copy link

При попытке войти в диалоговое окно просмотр медиа, плеера Yandex mini 2, HA выдаёт ошибку Ошибка просмотра Мультимедиа: Unknown error.

При этом в логах следующая запись:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/media_player/init.py:1298
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:37:35 (23 occurrences)
Last logged: 11:17:49

[281472913946816] Error handling message: Unknown error (unknown_error) Prozorov Alexander from 192.168.1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0)
[281472400205504] Error handling message: Unknown error (unknown_error) Prozorov Alexander from 192.168.1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0)
[281472479829440] Error handling message: Unknown error (unknown_error) Prozorov Alexander from 192.168.1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0)
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 1298, in websocket_browse_media
if MediaPlayerEntityFeature.BROWSE_MEDIA not in player.supported_features:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'int' is not iterable

image

На втором не обновлённом HA ошибки нет

@Roman-RV78
Copy link

Подтверждаю. Такая же ошибка.

@golovopatolog
Copy link

Такая же фигулина

@SSG099
Copy link

SSG099 commented Jan 5, 2024

Присоединяюсь

@kpe03031973
Copy link

Такая же ошибка. и на Core 2024.1.1 то же

@AndreiCh74
Copy link

Тоже самое. Core 2024.1.1

@ChapayTv
Copy link

ChapayTv commented Jan 6, 2024

Подтверждаю ошибку

@a-x-
Copy link

a-x- commented Jan 7, 2024

@AlexxIT если подскажете где смотреть и как примерно чинить могу сделать PR

@MikhailTeddy
Copy link

То же и на 2024.1.2. Не работает карточка телевизора (media_player..) с Яндекс ИК пульта, из умного дома Я. Не работает "Браузер медиа для плагина Yandex Station" https://github.com/alryaz/hass-yandex-music-browser (но это наверное надо написать altyaz}. Не работала интеграция "Яндекс погода", но автор вчера обновление выпустил под 2024 - https://github.com/IATkachenko/HA-YandexWeather.
Логи к сожалению показать не могу, откатился к 2023.12.4

@kai-zer-ru
Copy link

kai-zer-ru commented Jan 8, 2024

Присоединяюсь. Не работает.

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 1298, in websocket_browse_media
    if MediaPlayerEntityFeature.BROWSE_MEDIA not in player.supported_features:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'int' is not iterable

@a-x-
Copy link

a-x- commented Jan 8, 2024

А с Алексом все в порядке? Канал в телеге уже давно не обновляется как будто

@golovopatolog
Copy link

Отдыхает наверное человек, как все)

@Tynianoff
Copy link

Подтверждаю проблему

@gfrantsau
Copy link

такая же проблема

@Roman-RV78
Copy link

Расходимся))). После нового релиза YandexStation всё заработало. Алексу спасибо!

@AlexxIT AlexxIT added the bug Something isn't working label Jan 14, 2024
@AlexxIT AlexxIT added this to the v3.13.0 milestone Jan 14, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 14, 2024

@AlexxIT AlexxIT closed this as completed Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests