Almost same problem there.
I can find the media folder and add a “music” folder in it. Can also add .mp3 files in this music folder. But unable to see the music folder inside Home Assistant when chromecast browsing…
I run HA Core in a Docker Container on a QNAP NAS, and I just assigned the host volume (where my media files are located) to the mount point /mediainside the container.
After a restart of the container, all my media files appeared as a browsable structure in all my media player devices.
Well, as part of the Container Station GUI (made by QNAP) the process of creating a container allows me to simply browse the folder tree structure on the physical volumes until I find the folder I’m looking for.
But I guess you’re not using a QNAP, so I cannot tell you exact the syntax to use either from command line or using a YAML install script.
But my point is that you just have to create symbolic link between the internal folder /media and the physical external volume/folder path to your actual media location.
You should have a similar link for your /config folder ?
(If you use hass.io I have no Idea how this is done)
Hello,
I created a symbolic link >>
from my media folder on / usr / share / hassio / media
delete the media folder before which gives
ln -s /my patch my media path /usr/share/hassio/media
which is given to me:
sudo ln -s /mnt/usb2T/Film /usr/share/hassio/media
on the other hand other problems:
only .avi and .mp4 files are displayed .mkv files do not appear
and only playing .mp4 files works
Please excuse me for the English but I’m translating from French to English with google
I haven’t tried it yet, but wouldn’t it be simply adding -v <full path of music folder mounted or local>:/media to the docker run command?
What I’m still wondering and nobody answered yet. Is Hass indexing the media folder? I.e. if you include a huge collection what will be the impact on performance?
I have tried this but it points to the media folder inside homeassistant docker where as I have my media folder at /home/mymedia so how can I change the the default media path?