2024年11月24日星期日 下午9:53:20

local media on Home Assistant Core

2 年 前
#3643 引用
local media  on Home Assistant Core


https://www.home-assistant.io/more-info/local-media/setup-media#home-assistant-container


quick start - Using default folders



cd /home/homeassistant20221103/.homeassistant

mkdir /home/homeassistant20221103/.homeassistant/media

/home/homeassistant20221103/.homeassistant/media/DSD-OneIlove.wav



quick start - Using custom folders

https://www.home-assistant.io/more-info/local-media/setup-media#home-assistant-container

you’ll need to adjust the core configuration.

# Example configuration.yaml
homeassistant:
  media_dirs:
    media: /media
    recording: /mnt/recordings


0
2 年 前
#3644 引用
local media   path of  Home Assistant Core  

If you run Home Assistant Core you’ll need to create a media folder yourself.

By default, Home Assistant will look for the media folder inside your current Home Assistant configuration folder.

For example, if your current configuration folder is stored in:

/home/frenck/.homeassistant/

Then you’ll need to create a media folder in that same path:

/home/frenck/.homeassistant/media
0
2 年 前
#3645 引用
1
0
2 年 前
#3646 引用
dowload audio file

Scarborough Fair

https://music.163.com/#/song?id=3405868

vedio and audio

https://www.sohu.com/a/212016362_672729
0
2 年 前
#3647 引用
1
0
2 年 前
#3648 引用
1
0
2 年 前
#3649 引用
step 1;create dir name with "media"

/home/homeassistant/.homeassistant/media

DSD-OneIlove.wav
0
2 年 前
#3650 引用
step 2:

copy DSD-OneIlove.wav to /home/homeassistant/.homeassistant/media
0