#Music Assitant is not playing music on my sattlite

1 messages · Page 1 of 1 (latest)

sharp edge
#

The log output in esphome is
[15:37:00][D][media_player:074]: 'assist - Setting [15:37:00][D][media_player:084]: Volume: 0.50 [15:37:01][D][media_player:074]: 'assist' - Setting [15:37:01][D][media_player:081]: Media URL: http://xxx.xxx.xx.xxx:8097/pluginsource/spotify_connect--m9Jjt9dk/media_player.persist_v1.wav [15:37:01][D][speaker_media_player:426]: State changed to ANNOUNCING [15:37:02][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL [15:37:02][E][speaker_media_player:339]: The announcement pipeline's file reader encountered an error. [15:37:02][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL

hallow kernel
regal forge
#

It looks like ESPHome. Why there's wav? Should be MP3 or flac for those.

hallow kernel
sharp edge
hallow kernel
# sharp edge the configuration

quick and dirty thing to try: remove the codec disable (without the line it defaults to true) and switch pipeline to flac and also add media pipeline:

media_player:
  - platform: speaker
    name: None
    id: output_media_player
    announcement_pipeline:
      speaker: spk_i2s
      format: FLAC
      num_channels: 1
      sample_rate: 48000
    media_pipeline:
      speaker: spk_i2s
      format: FLAC
      num_channels: 1
      sample_rate: 48000
    buffer_size: 6000

you probably don't need the buffer size either but I am not 100% sure

sharp edge
#

Ok

#

i should use the mixer?

hallow kernel
#

i dont know if mixer is required for this config. i do have it one of mine.
is it saying you should use mixer?

sharp edge
#

Yes

hallow kernel
#

ok give me a moment

sharp edge
#

`speaker:

  • platform: i2s_audio
    id: spk_i2s
    i2s_dout_pin: GPIO9
    i2s_audio_id: i2s_out
    dac_type: external
    bits_per_sample: 32bit
    channel: mono
    buffer_duration: 60ms
  • platform: mixer
    id: mixer_speaker_id
    output_speaker: spk_i2s
    source_speakers:
    • id: announcement_spk_input
    • id: media_spk_input

`` ` media_player:

  • platform: speaker
    name: None
    id: output_media_player
    announcement_pipeline:
    speaker: announcement_spk_input
    format: FLAC
    num_channels: 1
    sample_rate: 48000
    media_pipeline:
    speaker: media_spk_input
    format: FLAC
    num_channels: 1
    sample_rate: 48000
    buffer_size: 6000 `` `
#

like this?

hallow kernel
#

yeah something like that maybe works. i have a slightly different setup in my custom VA and its been a while since i did much with it

sharp edge
#

could u show it ?

hallow kernel
#

its a bit of a mess though

#

random stuff commented out and stuff added here and there

#

i keep meaning to rework it, clean it up and add some extra stuff

#

i dont really use that device that much. i have a plan for it eventually but i ended up just getting another VPE

sharp edge
#

ok