Component i2s_audio.media_player took a long time for an operation (544 ms)

[12:04:59][D][media_player:061]: 'Nursery Speaker' - Setting
[12:04:59][D][media_player:068]:   Media URL: http://192.168.1.21:8097/flow/media_player.raspiaudio_muse_luxe_1e9e00_nursery_speaker/870725eefc014a07a3be62f80e4b823b.flac?ts=1720713899
[12:05:00][W][component:237]: Component i2s_audio.media_player took a long time for an operation (544 ms).
[12:05:00][W][component:238]: Components should block for at most 30 ms.
[12:05:00][W][component:237]: Component i2s_audio.media_player took a long time for an operation (464 ms).
[12:05:00][W][component:238]: Components should block for at most 30 ms.

Getting the above in the log whenever i try to play any audio from home assistant. all i want is to play music from music assistant. i dont care about voice assistant or anything like that. ive tried various different configuration yamls. tried making my own. but i always end up with this issue. in the home assistant log it says:

Nursery Speaker changed to Idle

12:05:00 PM - 3 minutes ago

Nursery Speaker changed to Idle triggered by service Media player: Play media

12:05:00 PM - 3 minutes ago - Supervisor

Nursery Speaker changed to Playing

12:05:00 PM - 3 minutes ago

Nursery Speaker changed to Playing triggered by service Media player: Play media

12:05:00 PM - 3 minutes ago - Supervisor

here is the current yaml…

substitutions:
  name: raspiaudio-muse-luxe-1e9e00
  friendly_name: Nursery Speaker
packages:
  raspiaudio.muse-luxe: github://esphome/firmware/media-player/raspiaudio-muse-luxe.yaml@main
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: UfaEI0aNXhZwDjuA1g/1K420YoOTJSJnsTGy6lLYz2U=


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

Hello, I will try to publish a tutorial on Music assistant + Luxe this week. Stay tunned

1 Like

That would be amazing! Im pulling my hair out here trying to get it to work!

Looks like music assistant is officially supported by home assistant now if that changes anything.

Any update on how to clear this error?