Skip to content

Commit 48d08be

Browse files
ryanm101frenck
authored andcommitted
Add Documentation for plex client cleanup options (home-assistant#4907)
* Add Documentation for plex client cleanup options * Added removal option
1 parent c5f2f57 commit 48d08be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/_components/media_player.plex.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,17 @@ media_player:
6969
show_all_controls: false
7070
use_custom_entity_ids: true
7171
use_episode_art: true
72+
remove_unavailable_clients: true
73+
client_remove_interval: 600
7274
```
7375
- **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_
7476
- **include_non_clients** (*Optional*): Display non-recontrollable clients (ex. remote clients, PlexConnect Apple TV's). Defaults to `false`.
7577
- **scan_interval** (*Optional*): Amount in seconds in between polling for device’s current activity. Defaults to `10` seconds.
7678
- **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.
7779
- **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).
7880
- **use_episode_art** (*Optional*): Display TV episode art instead of TV show art. Defaults to `false`.
81+
- **remove_unavailable_clients** (*Optional*): Remove stale plex clients from UI after interval. Defaults to `true`.
82+
- **client_remove_interval** (*Optional*): How long a client is to be unavailable for before it is cleaned up. Defaults to `600 seconds (10min)`.
7983

8084
### {% linkable_title Service `play_media` %}
8185

0 commit comments

Comments
 (0)