Plex used to declare a media session state, which was very useful for different services such as Home Assistant to know when content was being played (in combination with wake_lock_size and audio_state).
That would be used as a trigger to dim the lights when content is playing, and brighten them when idle. Since the new beta, It appears as if media_session_state is no longer being applied, making the play state hit or miss.
When using ADB GET_PROPERTIES with an Nvidia Shield TV, I’m seeing the following when content is being played with plex.
‘screen_on’: True
‘awake’: True
‘audio_state’: ‘paused’
‘wake_lock_size’: 2
‘current_app’: ‘com.plexapp.android’
‘media_session_state’: None
Based on many other similar apps (Emby, Netflix, etc), wake_lock size can vary, but a media_session_state is almost always required to accurately report whether or not content is being played. It is typically only ‘None’ when content is not being played.
I’m hoping this can be added back in sooner than later.
Server Version#: 1.23.4.4712 Ubuntu Docker
Player Version#: 8.19.0.26205