From df2a8f31a43f9b1b75b78f9d72f56774edef8047 Mon Sep 17 00:00:00 2001 From: Jesse Torres Date: Tue, 21 Feb 2017 20:39:08 -0500 Subject: [PATCH] Documented max_frozen_playing and max_frozen_paused optional configurations --- source/_components/media_player.plex.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_components/media_player.plex.markdown b/source/_components/media_player.plex.markdown index a99762f2f06..4cd6d3c5eea 100644 --- a/source/_components/media_player.plex.markdown +++ b/source/_components/media_player.plex.markdown @@ -59,6 +59,8 @@ media_player: - platform: plex entity_namespace: 'plex' include_non_clients: true + max_frozen_playing: 30 + max_frozen_paused: 60 scan_interval: 5 show_all_controls: false use_custom_entity_ids: true @@ -67,6 +69,8 @@ media_player: ``` - **entity_namespace** (*Optional*): Prefix for entity ID's. Defaults to `null`. Useful when using overlapping components (ex. Apple TV and Plex components when you have Apple TV's you use as Plex clients). Go from _media_player.playroom2_ to _media_player.plex_playroom_ - **include_non_clients** (*Optional*): Display non-recontrollable clients (ex. remote clients, PlexConnect Apple TV's). Defaults to `false`. +- **max_frozen_playing** (*Optional*): Forces a "playing" device to become "paused" when the playing position hasn't moved in x time. Defaults to `60` seconds. Useful for disconnected sessions (ex. Streaming iPhone user locks their phone, streaming laptop user closes their browser). Note: This only changes client state, it does not issue any commands to the client (incase they are trying to reconnect). +- **max_frozen_paused** (*Optional*): Similar to `max_frozen_playing`, forces a "paused" device to become "idle" when the playing position hasn't moved in x time. Defaults to `300` seconds. - **scan_interval** (*Optional*): Amount in seconds in between polling for device’s current activity. Defaults to `10` seconds. - **show_all_controls** (*Optional*): Forces all controls to display. Defaults to `false`. Ignores dynamic controls (ex. show volume controls for client A but not for client B) based on detected client capabilities. This option allows you to override this detection if you suspect it to be incorrect. - **use_custom_entity_ids** (*Optional*): Name Entity ID's by client ID's instead of friendly names. Defaults to `false`. HA assigns entity ID's on a first come first serve basis. When you have identically named devices connecting (ex. media_player.plex_web_safari, media_player.plex_web_safari2), you can't reliably distinguish and or predict which device is which. This option avoids this issue by using unique client ID's (ex. media_player.dy4hdna2drhn). @@ -129,5 +133,5 @@ Plays a song, playlist, TV episode, or video on a connected client. ERROR:plexapi:http://192.168.1.10:32400: ('Connection aborted.', BadStatusLine("''",)) INFO:homeassistant.components.media_player.plex:No server found at: http://192.168.1.10:32400 ``` - + If this occurs, try changing the setting `Secure connections` in your Plex Media Server to `Preferred` (instead of `Required`). The Plex component does not currently support HTTPS.