Cannot update device state

Posted on
Sat Oct 27, 2018 5:29 am
wormhole offline
Posts: 69
Joined: Feb 21, 2017

Re: Cannot update device state

Any update? :)

Posted on
Sun Oct 28, 2018 9:39 pm
RogueProeliator offline
User avatar
Posts: 2067
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Cannot update device state

Any update? :)

I haven't had time to fully test this release to my satisfaction, though there are no known issues in it...

If you feel like trying it out:
https://github.com/RogueProeliator/Indi ... tag/v2.3.0

Adam

Posted on
Mon Oct 29, 2018 4:35 am
wormhole offline
Posts: 69
Joined: Feb 21, 2017

Re: Cannot update device state

sure, installed and immediately got this...

Started plugin "Plex Media Server Manager 2.3.0"
Error cannot update device state for key clientConnectionStatus to value stopped (invalid enumeration value)

Oct 29, 2018 at 6:34:23 AM
Error

Posted on
Mon Oct 29, 2018 7:35 am
RogueProeliator offline
User avatar
Posts: 2067
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Cannot update device state

sure, installed and immediately got this...

Started plugin "Plex Media Server Manager 2.3.0"
Error cannot update device state for key clientConnectionStatus to value stopped (invalid enumeration value)

That value is definitely in that enumeration now... just double checked to be sure I hadn't forgotten to check something in to GitHub. It is in both the named and "slot" client device types. Would you mind turning the debug up to high, letting it hit that error, then pasting in the log? Looking for the XML returned that is throwing the error - I haven't noticed an error in my system but, as I mentioned, this isn't very tested as I don't seem to show that status (at least that I have noticed... this may be specific to the client/types that are you using). Maybe with your XML I can run it through the plugin hard-coded to see what is going on.

Adam

Posted on
Wed Oct 31, 2018 4:00 pm
wormhole offline
Posts: 69
Joined: Feb 21, 2017

Re: Cannot update device state

here's after turning on debugging - how else can i help?

plexapp-android', 'local': '1', 'platformVersion': '8.0.0'}
Plex Media Server Manager Debug Identified as Slot 16
Plex Media Server Manager Debug Found 1 clients to update
Plex Media Server Manager Debug Found client device to update for machineID: 73d75b2654562c76-com-plexapp-android
Error cannot update device state for key clientConnectionStatus to value stopped (invalid enumeration value)
Plex Media Server Manager Debug Found unknown client: 73d75b2654562c76-com-plexapp-android
Plex Media Server Manager Debug MediaContainer Media Information: {'videoFrameRate': '24p', 'videoCodec': 'h264', 'container': 'mkv', 'videoResolution': '720', 'height': '720', 'width': '1280', 'audioChannels': '6', 'duration': '2728393', 'videoProfile': 'high', 'aspectRatio': '1.78', 'bitrate': '5504', 'id': '2383118', 'audioCodec': 'ac3'}
Plex Media Server Manager Debug MediaContainer Player Information: {'profile': 'Roku-7.x', 'product': 'Plex for Roku', 'vendor': 'Roku', 'title': 'Roku 2 XS - 13A180167775', 'remotePublicAddress': '69.127.209.130', 'userID': '20154', 'platform': 'Roku', 'state': 'stopped', 'version': '5.3.10.5048-c61db7547-Plex', 'address': '69.127.209.130', 'device': 'Roku 2 XS', 'model': '3100X', 'machineIdentifier': '762876e964688406a4219af962d4c2e7', 'local': '0', 'platformVersion': '8.x'}

Posted on
Wed Oct 31, 2018 10:15 pm
RogueProeliator offline
User avatar
Posts: 2067
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Cannot update device state

here's after turning on debugging - how else can i help?

I just checked again, and that enum / state is there... could you edit the device and save it to see if it picks up some change on the XML?

Posted on
Sun Nov 04, 2018 6:46 am
wormhole offline
Posts: 69
Joined: Feb 21, 2017

Re: Cannot update device state

Thanks. I removed all the clients as well as the server and re-added. No errors now although the device states are pretty slow to update. I'll keep you posted. If there is anything in particular i can do to further troubleshoot let me know. This plugin is particularly useful for me (so appreciated) because i have multiple scenes set for our theater based on this plugin (fade out lights when movie starts, bring up lights 50% when paused, etc). Thanks again.

Posted on
Sun Nov 04, 2018 11:06 am
RogueProeliator offline
User avatar
Posts: 2067
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Cannot update device state

Thanks. I removed all the clients as well as the server and re-added. No errors now although the device states are pretty slow to update. I'll keep you posted. If there is anything in particular i can do to further troubleshoot let me know.

You probably checked, but the first thing to check is the polling interval on the Plex Server Device... During re-creation, it may have gone back to a default value higher than what you had previously set.

Who is online

Users browsing this forum: No registered users and 1 guest