From f9994c66eac03d00dfe73f2857e5a53d7c1e35f0 Mon Sep 17 00:00:00 2001 From: Siemon Geeroms Date: Sun, 1 Dec 2024 01:25:19 +0100 Subject: [PATCH 1/5] Update plex.markdown, adding continuous parameter doc --- source/_integrations/plex.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_integrations/plex.markdown b/source/_integrations/plex.markdown index c64c6238530b..5a7a838c8090 100644 --- a/source/_integrations/plex.markdown +++ b/source/_integrations/plex.markdown @@ -161,6 +161,7 @@ Required fields within the `media_content_id` payloads are marked as such, other - `offset`: The desired playback start position in seconds. - `allow_multiple`: A search must find one specific item to succeed. This parameter accepts multiple matches in a search and enqueues all found items for playback. Accepts `1` or `true` to enable. - `username`: A username for a local Plex user account. This is only required if the Plex server has multiple users and you wish to play media for a specific user. +- `continuous`: Plex will automatically play the next episode in the series. Accepts `1` or `true` to enable. Simplified examples are provided for [music](#music), [TV episodes](#tv-episode), and [movies](#movie). See [advanced searches](#advanced-searches) for complex/smart search capabilities. From 71fa270233a0ee9ef8b0530e396faffaaa88c2a8 Mon Sep 17 00:00:00 2001 From: Siemon Geeroms Date: Sun, 1 Dec 2024 13:14:59 +0100 Subject: [PATCH 2/5] Update plex.markdown --- source/_integrations/plex.markdown | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/source/_integrations/plex.markdown b/source/_integrations/plex.markdown index 5a7a838c8090..a5e155391e92 100644 --- a/source/_integrations/plex.markdown +++ b/source/_integrations/plex.markdown @@ -222,11 +222,11 @@ media_content_id: '{ "playlist_name": "The Best of Disco", "shuffle": "1" }' #### TV episode -| Data attribute | Description | -| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `entity_id` | `entity_id` of the client | -| `media_content_id` | Quoted JSON containing:
| -| `media_content_type` | `EPISODE` | +| Data attribute | Description | +| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `entity_id` | `entity_id` of the client | +| `media_content_id` | Quoted JSON containing:
| +| `media_content_type` | `EPISODE` | ##### Examples: @@ -254,6 +254,13 @@ media_content_type: EPISODE media_content_id: '{ "library_name": "News TV", "show_name": "60 Minutes", "episode.unwatched": true, "episode.inProgress": [true, false], "resume": 1, "sort": "addedAt:asc", "maxresults": 1 }' ``` +Play Rick and Morty episodes continuously starting from S2E5 + +```yaml +entity_id: media_player.plex_player +media_content_type: EPISODE +{ "library_name": "Adult TV", "show_name": "Rick and Morty", "season_number": 2, "episode_number": 5, "continuous": 1}' +``` #### Movie | Data attribute | Description | @@ -326,6 +333,7 @@ The search will attempt to guess the type of media based on the search parameter # Watch the worst rated movie from the 2000s starring either Nicolas Cage or Danny Devito { "library_name": "Movies", "actor": ["Nicolas Cage", "Danny DeVito"], "decade": 2000, "sort": "audienceRating:asc", "maxresults": 1 } + ``` ### Compatibility From 2103c0206682d237aaf476bcb5ababfe55eab423 Mon Sep 17 00:00:00 2001 From: Siemon Geeroms Date: Sun, 1 Dec 2024 13:19:18 +0100 Subject: [PATCH 3/5] Update plex.markdown --- source/_integrations/plex.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/plex.markdown b/source/_integrations/plex.markdown index a5e155391e92..d69670152e33 100644 --- a/source/_integrations/plex.markdown +++ b/source/_integrations/plex.markdown @@ -223,7 +223,7 @@ media_content_id: '{ "playlist_name": "The Best of Disco", "shuffle": "1" }' #### TV episode | Data attribute | Description | -| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `entity_id` | `entity_id` of the client | | `media_content_id` | Quoted JSON containing:
  • `library_name` (Required)
  • `show_name` or `show.title`
  • `season_number` or `season.index`
  • `episode_number` or `episode.index`
  • `shuffle` (0 or 1)
  • `resume` (0 or 1)
  • `offset` (in seconds)
  • `allow_multiple` (0 or 1)
  • `continuous` (0 or 1)
| | `media_content_type` | `EPISODE` | @@ -259,7 +259,7 @@ Play Rick and Morty episodes continuously starting from S2E5 ```yaml entity_id: media_player.plex_player media_content_type: EPISODE -{ "library_name": "Adult TV", "show_name": "Rick and Morty", "season_number": 2, "episode_number": 5, "continuous": 1}' +media_content_id: { "library_name": "Adult TV", "show_name": "Rick and Morty", "season_number": 2, "episode_number": 5, "continuous": 1}' ``` #### Movie From 3d402c6939e3300d558ccb6a4b1ac693f692df64 Mon Sep 17 00:00:00 2001 From: Siemon Geeroms Date: Sun, 1 Dec 2024 13:20:14 +0100 Subject: [PATCH 4/5] Update plex.markdown --- source/_integrations/plex.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/plex.markdown b/source/_integrations/plex.markdown index d69670152e33..6d40e1fa8308 100644 --- a/source/_integrations/plex.markdown +++ b/source/_integrations/plex.markdown @@ -259,7 +259,7 @@ Play Rick and Morty episodes continuously starting from S2E5 ```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, "continuous": 1}' +media_content_id: '{ "library_name": "Adult TV", "show_name": "Rick and Morty", "season_number": 2, "episode_number": 5, "continuous": 1}' ``` #### Movie From 7b0c4f35dcedb29be7ba230a133a9b9552b77eac Mon Sep 17 00:00:00 2001 From: Siemon Geeroms Date: Sun, 1 Dec 2024 13:20:54 +0100 Subject: [PATCH 5/5] Update plex.markdown --- source/_integrations/plex.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_integrations/plex.markdown b/source/_integrations/plex.markdown index 6d40e1fa8308..8617a52d2796 100644 --- a/source/_integrations/plex.markdown +++ b/source/_integrations/plex.markdown @@ -333,7 +333,6 @@ The search will attempt to guess the type of media based on the search parameter # Watch the worst rated movie from the 2000s starring either Nicolas Cage or Danny Devito { "library_name": "Movies", "actor": ["Nicolas Cage", "Danny DeVito"], "decade": 2000, "sort": "audienceRating:asc", "maxresults": 1 } - ``` ### Compatibility