I did try to reset the Kodi database by going to PKC Settings -> Advanced -> "Reset the database and optionally reset PlexKodiConnect" and then hitting YES, NO
Everytime i stop anything via PKC i get an error in logs with causes errors further down the line. It never happens when playing from Plex Web or Plex mobile app. In my case it causes a following error with an integration i have in Home Assistant to Plex with below 2 errors :
Home Assistant: First error
Logger: homeassistant.components.plex
Source: components/plex/init.py:207
Integration: Plex Media Server (documentation, issues)
First occurred: 10:24:59 (3 occurrences)
Last logged: 15:02:39
Websocket to PLEX failed, aborting [Error: Unknown]
Home Assistant: Second error
Logger: plexwebsocket
Source: /usr/local/lib/python3.11/site-packages/plexwebsocket.py:170
First occurred: 10:24:59 (3 occurrences)
Last logged: 15:02:39
Unexpected exception occurred: 'sessionKey'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/plexwebsocket.py", line 131, in running
if self.player_event(msg):
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/plexwebsocket.py", line 187, in player_event
session_id = payload["sessionKey"]
KeyError: 'sessionKey'
## To Reproduce
Steps to reproduce the behavior:
1. Stop a playing movie via PKC
4. See error in Plex Media Server.log
## Expected behavior
No errors in log
## KODI LOG FILE!
Sep 29, 2023 15:02:41.502 [10788] ERROR - [Req#f397] Unknown metadata type: folder
Sep 29, 2023 15:02:41.650 [10788] ERROR - [Req#f3a1] Unknown metadata type: folder
Sep 29, 2023 15:02:41.685 [5888] ERROR - [Req#f3a4] Unknown metadata type: folder
Sep 29, 2023 15:02:41.772 [5872] ERROR - [Req#f3ab] Unknown metadata type: folder
Sep 29, 2023 15:02:41.786 [5872] ERROR - [Req#f3ae] Unknown metadata type: folder
Help yourself
PKC Settings -> Advanced -> "Reset the database and optionally reset PlexKodiConnect"
and then hitting YES, NODescribe the bug
Everytime i stop anything via PKC i get an error in logs with causes errors further down the line. It never happens when playing from Plex Web or Plex mobile app. In my case it causes a following error with an integration i have in Home Assistant to Plex with below 2 errors :
Home Assistant: First error Logger: homeassistant.components.plex Source: components/plex/init.py:207 Integration: Plex Media Server (documentation, issues) First occurred: 10:24:59 (3 occurrences) Last logged: 15:02:39
Websocket to PLEX failed, aborting [Error: Unknown]
Home Assistant: Second error Logger: plexwebsocket Source: /usr/local/lib/python3.11/site-packages/plexwebsocket.py:170 First occurred: 10:24:59 (3 occurrences) Last logged: 15:02:39
Unexpected exception occurred: 'sessionKey' Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/plexwebsocket.py", line 131, in running if self.player_event(msg): ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/plexwebsocket.py", line 187, in player_event session_id = payload["sessionKey"]