Upnp - Resource not found

Hi everyone!

I have HA on Rpi4 and I tried to set up playing a local media file (mp3) as an automation service on my Samsung Q60 TV with no success.

If I try it with a public mp3 file from the web, that works fine.

My log contains the following error:
Error during call async_play_media: UpnpActionResponseError(‘Error during async_call(), status: 500, upnp error: 716 (Resource not found)’)

My setup:
description: “”
trigger: []
condition: []
action:

  • service: media_player.play_media
    target:
    entity_id: media_player.tv_samsungq60
    data:
    media_content_id: media-source://media_source/local/mh.mp3
    media_content_type: audio/mpeg
    metadata:
    title: mh.mp3
    thumbnail: null
    media_class: music
    children_media_class: null
    navigateIds:
    - {}
    - media_content_type: app
    media_content_id: media-source://media_source
    mode: single

I would appreciate your help what did I miss?

Thanks in advance!

1 Like