mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Fixed typos in media_extractor docs (#2992)
This commit is contained in:
parent
fc35bd0497
commit
b6b4ff80d8
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: "Media Extractor"
|
title: "Media Extractor"
|
||||||
description: "Instructions how to integrate the Media Extrator into Home Assistant."
|
description: "Instructions how to integrate the Media Extractor into Home Assistant."
|
||||||
date: 2017-07-12 07:00
|
date: 2017-07-12 07:00
|
||||||
sidebar: true
|
sidebar: true
|
||||||
comments: false
|
comments: false
|
||||||
@ -15,7 +15,7 @@ ha_release: 0.49
|
|||||||
|
|
||||||
The `media_extractor` component gets an stream URL and send it to a media player entity.
|
The `media_extractor` component gets an stream URL and send it to a media player entity.
|
||||||
|
|
||||||
To use the media extrator service in your installation, add the following to your `configuration.yaml` file:
|
To use the media extractor service in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
@ -30,8 +30,6 @@ This will download the file from the given URL.
|
|||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `entity_id` | yes | Name(s) of entities to seek media on, eg. `media_player.living_room_chromecast`. Defaults to all.
|
| `entity_id` | yes | Name(s) of entities to seek media on, e.g., `media_player.living_room_chromecast`. Defaults to all.
|
||||||
| `media_content_id` | no | The ID of the content to play. Platform dependent.
|
| `media_content_id` | no | The ID of the content to play. Platform dependent.
|
||||||
| `media_content_type` | no | The type of the content to play. Must be one of MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC.
|
| `media_content_type` | no | The type of the content to play. Must be one of MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user