[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
Hey, guys!
I’ve also spent enormous amount of time trying to figure the solution out. It seems like there is some buffer that gets overloaded if the media is too large.
I tried several different options (mp3s of different qualities, tts, google translate).
Would also love to hear any updates from @Raspiaudio
I seem to have also found a correlation between media file playability and embedded cover image. Latter seem to be not playable even being smaller in size.
Upd.: I have removed all embedded covers from my media files and they are playable now (haven’t checked all, but some tested before are playing now).
We have carefully reviewed your issue.
From our analysis, the problem seems to be related to the encoding of your media. Currently, the player can only correctly decode .mp3 and .wav streams. Unfortunately, .aac files result in errors or even system resets.
We hope this information is helpful, and please know that we are continuously working to improve our products.