Skip to content

[en] HassMediaSearchAndPlay does not find any music #3710

Description

@skiinganchor

I have a local library with The Beatles folders and also Spotify provider on Music Assistant. I can use Music assistant to play Beatles for example in my Voice PE.

The problem is when I try: "Ok Nabu, Play The Beatles", anything I try will not be found. I have all my entities exposed to the voice assistant including the media players.

Debug:

Image

Raw:

stage: done
run:
  pipeline: 01k34222m5s22h88jqshntncnt
  language: en
  conversation_id: 01KF5SPRMR26XCW0HTD6MX5E2M
  satellite_id: assist_satellite.home_assistant_voice_090fce_assist_satellite
  tts_output:
    token: qT0fOS2SioP7foonm0yLjg.flac
    url: /api/tts_proxy/qT0fOS2SioP7foonm0yLjg.flac
    mime_type: audio/flac
    stream_response: false
events:
  - type: run-start
    data:
      pipeline: 01k34222m5s22h88jqshntncnt
      language: en
      conversation_id: 01KF5SPRMR26XCW0HTD6MX5E2M
      satellite_id: assist_satellite.home_assistant_voice_090fce_assist_satellite
      tts_output:
        token: qT0fOS2SioP7foonm0yLjg.flac
        url: /api/tts_proxy/qT0fOS2SioP7foonm0yLjg.flac
        mime_type: audio/flac
        stream_response: false
    timestamp: "2026-01-17T11:00:03.464832+00:00"
  - type: stt-start
    data:
      engine: stt.home_assistant_cloud
      metadata:
        language: en-US
        format: wav
        codec: pcm
        bit_rate: 16
        sample_rate: 16000
        channel: 1
    timestamp: "2026-01-17T11:00:03.465233+00:00"
  - type: stt-vad-start
    data:
      timestamp: 1050
    timestamp: "2026-01-17T11:00:04.523860+00:00"
  - type: stt-vad-end
    data:
      timestamp: 3050
    timestamp: "2026-01-17T11:00:06.512336+00:00"
  - type: stt-end
    data:
      stt_output:
        text: Play The Beatles.
    timestamp: "2026-01-17T11:00:06.596982+00:00"
  - type: intent-start
    data:
      engine: conversation.home_assistant
      language: en
      intent_input: Play The Beatles.
      conversation_id: 01KF5SPRMR26XCW0HTD6MX5E2M
      device_id: 30791e6eed708a938726d5b455b63093
      satellite_id: assist_satellite.home_assistant_voice_090fce_assist_satellite
      prefer_local_intents: true
    timestamp: "2026-01-17T11:00:06.597247+00:00"
  - type: intent-end
    data:
      processed_locally: true
      intent_output:
        response:
          speech:
            plain:
              speech: Sorry, I couldn't understand that
              extra_data: null
          card: {}
          language: en
          response_type: error
          data:
            code: no_valid_targets
        conversation_id: 01KF5SPRMR26XCW0HTD6MX5E2M
        continue_conversation: false
    timestamp: "2026-01-17T11:00:07.098158+00:00"
  - type: tts-start
    data:
      engine: tts.home_assistant_cloud
      language: en-GB
      voice: AbbiNeural
      tts_input: Sorry, I couldn't understand that
      acknowledge_override: false
    timestamp: "2026-01-17T11:00:07.098379+00:00"
  - type: tts-end
    data:
      tts_output:
        media_id: media-source://tts/-stream-/qT0fOS2SioP7foonm0yLjg.flac
        token: qT0fOS2SioP7foonm0yLjg.flac
        url: /api/tts_proxy/qT0fOS2SioP7foonm0yLjg.flac
        mime_type: audio/flac
    timestamp: "2026-01-17T11:00:07.099406+00:00"
  - type: run-end
    data: null
    timestamp: "2026-01-17T11:00:07.099741+00:00"
started: 2026-01-17T11:00:03.464Z
stt:
  engine: stt.home_assistant_cloud
  metadata:
    language: en-US
    format: wav
    codec: pcm
    bit_rate: 16
    sample_rate: 16000
    channel: 1
  done: true
  stt_output:
    text: Play The Beatles.
intent:
  engine: conversation.home_assistant
  language: en
  intent_input: Play The Beatles.
  conversation_id: 01KF5SPRMR26XCW0HTD6MX5E2M
  device_id: 30791e6eed708a938726d5b455b63093
  satellite_id: assist_satellite.home_assistant_voice_090fce_assist_satellite
  prefer_local_intents: true
  done: true
  processed_locally: true
  intent_output:
    response:
      speech:
        plain:
          speech: Sorry, I couldn't understand that
          extra_data: null
      card: {}
      language: en
      response_type: error
      data:
        code: no_valid_targets
    conversation_id: 01KF5SPRMR26XCW0HTD6MX5E2M
    continue_conversation: false
tts:
  engine: tts.home_assistant_cloud
  language: en-GB
  voice: AbbiNeural
  tts_input: Sorry, I couldn't understand that
  acknowledge_override: false
  done: true
  tts_output:
    media_id: media-source://tts/-stream-/qT0fOS2SioP7foonm0yLjg.flac
    token: qT0fOS2SioP7foonm0yLjg.flac
    url: /api/tts_proxy/qT0fOS2SioP7foonm0yLjg.flac
    mime_type: audio/flac
finished: 2026-01-17T11:00:07.099Z

Any idea?

Pinned by staticdev

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions