Playing audio from tvheadend

Playing audio from tvheadend

I’ve an ESP dev equipment which incorporates a ESP32-D0WDQ6 CPU which I’m driving from HA. In the yaml file, I’ve arrange the inner DACs to output audio:

i2s_audio:
  - i2s_lrclk_pin: GPIO13

media_player:
  - platform: i2s_audio
    dac_type: inner
    title: "dac_player"
    mode: stereo

Either within the yaml immediately or from HA, I can play mp3 web radio, eg from https://media-ssl.musicradio.com/GoldMP3. However what I additionally need to do is to play audio from my TVHeadend server on my community. I can play audio from TVH in vlc on a Pi and on a PC however the ESP refuses to take action. The log exhibits:

[12:11:45][D][media_player:061]: 'dac_player' - Setting
[12:11:45][D][media_player:071]:   Volume: 0.10
[12:11:45][D][media_player:061]: 'dac_player' - Setting
[12:11:45][D][media_player:068]:   Media URL: http://tvheadend.native:9981/stream/channelid/526472930
[12:11:45][W][component:237]: Component i2s_audio.media_player took a very long time for an operation (263 ms).
[12:11:45][W][component:238]: Components ought to block for at most 30 ms.
[12:11:45][W][component:237]: Component i2s_audio.media_player took a very long time for an operation (67 ms).
[12:11:45][W][component:238]: Components ought to block for at most 30 ms.

I’ve tried many alternative output stream profiles from TVH, with/with out transcoding, however nothing appears to work with the ESP (virtually all the pieces does with vlc).

Has anybody obtained this working? Is there the rest I can attempt?

1 put up – 1 participant

Read full subject

HI-FI News

through Home Assistant Community – Latest subjects https://ift.tt/Mw58Hxl

September 27, 2024 at 01:20PM