From a5e5702bc5ca61aaf2cf787e479e10cd2b6de525 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Thu, 13 Jan 2022 22:34:26 -0600 Subject: [PATCH 1/6] add media play url support to roku --- source/_integrations/roku.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/_integrations/roku.markdown b/source/_integrations/roku.markdown index 737391f582ab..9e70b95eadaa 100644 --- a/source/_integrations/roku.markdown +++ b/source/_integrations/roku.markdown @@ -127,6 +127,16 @@ action: media_content_type: channel ``` +## Play on Roku + +The `media_player.play_media` service may be used to send media URLs (primarily videos) for direct playback on your device. This feature makes use of PlayOnRoku app (built-in). + +| Service data attribute | Optional | Description | Example | +| ---------------------- | -------- | ----------- | ------- | +| `entity_id` | no | Target a specific media player. To target all media players, use `all`. | | +| `media_content_id` | no | A media URL. | https:// +| `media_content_type` | no | A media type. | url + ## Content Deeplinking The `media_player.play_media` service may be used to deep link to content within an application. From fd5c676f70db357ce0000f139e264045079f0c2d Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Thu, 13 Jan 2022 22:50:26 -0600 Subject: [PATCH 2/6] Update roku.markdown --- source/_integrations/roku.markdown | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/source/_integrations/roku.markdown b/source/_integrations/roku.markdown index 9e70b95eadaa..f2d1bb102058 100644 --- a/source/_integrations/roku.markdown +++ b/source/_integrations/roku.markdown @@ -134,8 +134,25 @@ The `media_player.play_media` service may be used to send media URLs (primarily | Service data attribute | Optional | Description | Example | | ---------------------- | -------- | ----------- | ------- | | `entity_id` | no | Target a specific media player. To target all media players, use `all`. | | -| `media_content_id` | no | A media URL. | https:// -| `media_content_type` | no | A media type. | url +| `media_content_id` | no | A media URL. | http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 +| `media_content_type` | no | A media type. | `url` +| `extra.format` | no | A media format. Should be one of `mp4` (supports mov and m4v), `wma`, `mp3`, `hls`, `ism` (smooth streaming), `dash` (MPEG-DASH), `mkv`, `mka`, `mks` | `mp4` +| `extra.title` | no | A media title. | Big Buck Bunny + +### Example + +```yaml +action: + - service: media_player.play_media + target: + entity_id: media_player.roku + data: + media_content_id: http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 + media_content_type: url + extra: + format: mp4 + title: Big Buck Bunny +``` ## Content Deeplinking From b5bb99d135ed33dd893886cc4ed86cd1bb1b7eae Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Thu, 13 Jan 2022 22:55:17 -0600 Subject: [PATCH 3/6] Update roku.markdown --- source/_integrations/roku.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/roku.markdown b/source/_integrations/roku.markdown index f2d1bb102058..e325a5e7d5cc 100644 --- a/source/_integrations/roku.markdown +++ b/source/_integrations/roku.markdown @@ -129,7 +129,7 @@ action: ## Play on Roku -The `media_player.play_media` service may be used to send media URLs (primarily videos) for direct playback on your device. This feature makes use of PlayOnRoku app (built-in). +The `media_player.play_media` service may be used to send media URLs (primarily videos) for direct playback on your device. This feature makes use of the built-in PlayOnRoku application. | Service data attribute | Optional | Description | Example | | ---------------------- | -------- | ----------- | ------- | From 68a2c4bec75bb3b454c95bb380ba702a738f2135 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Thu, 13 Jan 2022 23:01:42 -0600 Subject: [PATCH 4/6] Update roku.markdown --- source/_integrations/roku.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/roku.markdown b/source/_integrations/roku.markdown index e325a5e7d5cc..2a9812b2e3d7 100644 --- a/source/_integrations/roku.markdown +++ b/source/_integrations/roku.markdown @@ -137,7 +137,7 @@ The `media_player.play_media` service may be used to send media URLs (primarily | `media_content_id` | no | A media URL. | http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 | `media_content_type` | no | A media type. | `url` | `extra.format` | no | A media format. Should be one of `mp4` (supports mov and m4v), `wma`, `mp3`, `hls`, `ism` (smooth streaming), `dash` (MPEG-DASH), `mkv`, `mka`, `mks` | `mp4` -| `extra.title` | no | A media title. | Big Buck Bunny +| `extra.title` | yes | A media title. | Big Buck Bunny ### Example From c10d014c96f86e760807b2c60643fc66f34f91b7 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Thu, 13 Jan 2022 23:48:08 -0600 Subject: [PATCH 5/6] Update roku.markdown --- source/_integrations/roku.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/roku.markdown b/source/_integrations/roku.markdown index 2a9812b2e3d7..5c56cb346eff 100644 --- a/source/_integrations/roku.markdown +++ b/source/_integrations/roku.markdown @@ -137,7 +137,7 @@ The `media_player.play_media` service may be used to send media URLs (primarily | `media_content_id` | no | A media URL. | http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 | `media_content_type` | no | A media type. | `url` | `extra.format` | no | A media format. Should be one of `mp4` (supports mov and m4v), `wma`, `mp3`, `hls`, `ism` (smooth streaming), `dash` (MPEG-DASH), `mkv`, `mka`, `mks` | `mp4` -| `extra.title` | yes | A media title. | Big Buck Bunny +| `extra.name` | yes | A name for the media. | Big Buck Bunny ### Example From 640745ba82c83dbc8ad5b63a46675a12ea0c40ff Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Thu, 13 Jan 2022 23:48:31 -0600 Subject: [PATCH 6/6] Update roku.markdown --- source/_integrations/roku.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/roku.markdown b/source/_integrations/roku.markdown index 5c56cb346eff..6a5fd0fde6b0 100644 --- a/source/_integrations/roku.markdown +++ b/source/_integrations/roku.markdown @@ -151,7 +151,7 @@ action: media_content_type: url extra: format: mp4 - title: Big Buck Bunny + name: Big Buck Bunny ``` ## Content Deeplinking