From ab83aff77257e57213a67c12ba3e1be9d504ae74 Mon Sep 17 00:00:00 2001 From: jjlawren Date: Tue, 20 Oct 2020 18:48:08 -0500 Subject: [PATCH] Document casting Plex to Chromecast (#15264) Co-authored-by: Franck Nijhof --- source/_integrations/cast.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/_integrations/cast.markdown b/source/_integrations/cast.markdown index def2b009577..41c59ee2a4e 100644 --- a/source/_integrations/cast.markdown +++ b/source/_integrations/cast.markdown @@ -89,6 +89,21 @@ Optional: service: media_player.play_media ``` +### Plex + +To cast media directly from a configured Plex server, set the fields [as documented in the Plex integration](/integrations/plex/#service-play_media) and prepend the `media_content_id` with `plex://`: + +```yaml +'cast_plex_to_chromecast': + alias: Cast Plex to Chromecast + sequence: + - service: media_player.play_media + data: + entity_id: media_player.chromecast + media_content_type: movie + media_content_id: 'plex://{"library_name": "Movies", "title": "Groundhog Day"}' +``` + ## Advanced use ### Manual configuration