|
| string | name = "media" |
| |
| string | url = "/media/{source_dir_id}/{location:.*}" |
| |
Local Media Finder View.
Returns media files in config/media.
Definition at line 199 of file local_source.py.
◆ __init__()
| None homeassistant.components.media_source.local_source.LocalMediaView.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
LocalSource |
source |
|
) |
| |
◆ get()
| web.FileResponse homeassistant.components.media_source.local_source.LocalMediaView.get |
( |
|
self, |
|
|
web.Request |
request, |
|
|
str |
source_dir_id, |
|
|
str
|
location |
|
) |
| |
◆ hass
| homeassistant.components.media_source.local_source.LocalMediaView.hass |
◆ name
| string homeassistant.components.media_source.local_source.LocalMediaView.name = "media" |
|
static |
◆ source
| homeassistant.components.media_source.local_source.LocalMediaView.source |
◆ url
| string homeassistant.components.media_source.local_source.LocalMediaView.url = "/media/{source_dir_id}/{location:.*}" |
|
static |
The documentation for this class was generated from the following file: