Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 99036

Media_player fail to play local mp3

$
0
0

@vormsty wrote:

Hello,
I have some difficulties to set the correct path for local path.
I run HA with docker.
NGING is used as proxy for https.

for playing media:

 - service: media_player.play_media
   data:
      entity_id: media_player.xbr_49x800e
      media_content_id: https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3
      media_content_type: 'music'

is working !

In the folder config I created a folder mp3

But If I replace the media content by:

      media_content_id: http://192.168.1.106/local/mp3/doorbell.mp3
    

it doensn’t work.

I have no base_url defined because the local trafic is on http.
How can I debug this situation ?

Many thanks for your help !

Regards!

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 99036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>