diff --git a/source/_integrations/plex.markdown b/source/_integrations/plex.markdown index c0d9c3c4121..86e91c38553 100644 --- a/source/_integrations/plex.markdown +++ b/source/_integrations/plex.markdown @@ -138,11 +138,16 @@ The integration must be configured with a token for playback commands to work. T ##### Examples: +Play Hello from Adele's album 25 in the library Music + ```yaml entity_id: media_player.plex_player media_content_type: MUSIC media_content_id: '{ "library_name": "Music", "artist_name": "Adele", "album_name": "25", "track_name": "Hello" }' ``` + +Play a random track from Stevie Wonder in the library Music + ```yaml entity_id: media_player.plex_player media_content_type: MUSIC @@ -158,6 +163,9 @@ media_content_id: '{ "library_name": "Music", "artist_name": "Stevie Wonder", "s | `media_content_type` | `PLAYLIST` | ##### Example: + +Plays the playlist The Best of Disco with shuffle enabled + ```yaml entity_id: media_player.plex_player media_content_type: PLAYLIST @@ -174,15 +182,28 @@ media_content_id: '{ "playlist_name": "The Best of Disco", "shuffle": "1" }' ##### Examples: +Play Rick and Morty S2E5 from library Adult TV + ```yaml entity_id: media_player.plex_player media_content_type: EPISODE media_content_id: '{ "library_name": "Adult TV", "show_name": "Rick and Morty", "season_number": 2, "episode_number": 5 }' ``` + +Play a random episode of Sesame Street from the library Kids TV + ```yaml entity_id: media_player.plex_player media_content_type: EPISODE -media_content_id: '{ "library_name": "Kid TV", "show_name": "Sesame Street", "shuffle": "1" }' +media_content_id: '{ "library_name": "Kids TV", "show_name": "Sesame Street", "shuffle": "1" }' +``` + +Play the next unfinished episode of 60 Minutes from the library News TV + +```yaml +entity_id: media_player.plex_player +media_content_type: EPISODE +media_content_id: '{ "library_name": "News TV", "show_name": "60 Minutes", "episode.unwatched": true, "episode.inProgress": [true, false], "sort": "addedAt:asc", "maxresults": 1 }' ``` #### Movie @@ -195,6 +216,8 @@ media_content_id: '{ "library_name": "Kid TV", "show_name": "Sesame Street", "sh ##### Examples: +Play Blade from the library Adult Movies + ```yaml entity_id: media_player.plex_player media_content_type: movie @@ -281,11 +304,16 @@ Call the `media_player.play_media` service with the `entity_id` of a Sonos integ ##### Examples: +Play a track with advanced filtering on a Sonos Speaker + ```yaml entity_id: media_player.sonos_speaker media_content_type: music media_content_id: 'plex://{ "library_name": "Music", "artist_name": "Adele", "album_name": "25", "track_name": "Hello" }' ``` + +Play a playlist on a Sonos Speaker + ```yaml entity_id: media_player.sonos_speaker media_content_type: playlist