Media_play.play_media service and Medial Folder Integration

If I am incorrect here, please correct me, but from what I have tried myself and read from a post like Media_player path, Home Assistant OS server’s Media folder is not directly accessible by Media_play.play_media function.

So my feature request is please make Content_ID to either auto populated drop down box or popup window with a select file browser to the content of files in the Media folder.

Than you

1 Like

Hi Tom,

Thank you for the reference. My setup is Home Assistant OS. I dropped my MP3 & WAV files into Media Folder via Samba and I see them in the Media Browser. The files are called ring.wav & ring.mp3

So I’d assume one of the following should work, but none works for me.

media-source://media_source/ring.wav
media-source://media_source/local/ring.wav
media-source://media_source/media/ring.wav
media-source://media_source/local/media/ring.wav

Did you add this to your configuration.yaml file and restart Home Assistant?

media_source:

And if the file is in the root of your /media folder, this should be the correct one:

I wonder if Sonos as a target somehow won’t make media-source:// protocol to not work?

So you did this?

or do you have this in your configuration.yaml file:

default_config:

I have added media_source: and didn’t reboot initially so I did but still the same.

Yes I do see default_config: at the first line.

Then you don’t need to add media_source: .

Not sure why it isn’t working.

It sounds like even on Sonos, this should work. So I can only think/blame on my setup. I have it ProxMox Virtual Machine. I think I still have Rasberry Pi version, so I will try test to see if that works since I didn’t try media-source protocol before on it either.

Thank you very much for your help!