Add docs for media_source (#14396)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Jason Hunter 2020-09-04 14:53:21 -04:00 committed by GitHub
parent 143913ae43
commit eb30b4170c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
---
title: Media Source
description: Instructions on how to access your media with Home Assistant.
ha_category:
- Media Source
ha_release: 0.115
ha_quality_scale: internal
ha_domain: media_source
---
The Media Source integration platform allows integrations to expose media for use inside Home Assistant through the Media Browser panel or through supported media players like Google Cast. This integration is configured automatically through `default_config` or if another integration implements a media source. If your configuration does not contain any of the above, you can add the below to your configuration file.
```yaml
# Example configuration.yaml entry
media_source:
```
## Local Media
By default, a local media source is configured which looks for media in a directory called `media` under the configuration path (`/config`). Files served from `media` are protected by the Home Assistant authentication unlike those served from `www`.