mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-02 00:06:49 +00:00
1.3 KiB
1.3 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | Media Extractor | Instructions how to integrate the Media Extrator into Home Assistant. | 2017-07-12 07:00 | true | false | true | true | home-assistant.png | Media Player | 0.49 |
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:
# Example configuration.yaml entry
media_extractor:
{% linkable_title Use the service %}
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".
This will download the file from the given URL.
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. |
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. |