Skip to content

Commit 1064e0e

Browse files
authored
Initial media_extractor docs (home-assistant#2963)
1 parent 3f7e2d7 commit 1064e0e

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: page
3+
title: "Media Extractor"
4+
description: "Instructions how to integrate the Media Extrator into Home Assistant."
5+
date: 2017-07-12 07:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: home-assistant.png
11+
ha_category: Media Player
12+
ha_release: 0.49
13+
---
14+
15+
16+
The `media_extractor` component gets an stream URL and send it to a media player entity.
17+
18+
To use the media extrator service in your installation, add the following to your `configuration.yaml` file:
19+
20+
```yaml
21+
# Example configuration.yaml entry
22+
media_extractor:
23+
```
24+
25+
### {% linkable_title Use the service %}
26+
27+
Go the the "Developer Tools", then to "Call Service", and choose `media_extractor/play_media` from the list of available services. Fill the "Service Data" field as shown in the example below and hit "CALL SERVICE".
28+
29+
This will download the file from the given URL.
30+
31+
| Service data attribute | Optional | Description |
32+
| ---------------------- | -------- | ----------- |
33+
| `entity_id` | no | Name(s) of entities to seek media on, eg. `media_player.living_room_chromecast`
34+
| `media_content_id` | no | The ID of the content to play. Platform dependent.
35+
| `media_content_type` | no | The type of the content to play. Must be one of MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC.
36+
37+

0 commit comments

Comments
 (0)