Announcement

Collapse
No announcement yet.

Plugin Disconnects, reconnects many minutes later. Anyway to adjust polling?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plugin Disconnects, reconnects many minutes later. Anyway to adjust polling?

    I close Kodi when I'm done using it every night. In the past (Kodi v18 early beta) it would always reconnect immediately when I restarted Kodi the next day (~20 hours later)

    I've noticed the last 2 weeks (since Kodi 18 RC & gold) the Kodi plugin is not reconnecting to Kodi for many minutes... often 20-30.

    If I force it, in HS3 GUI, it connects instantly so comms works fine. Not sure if this is a bug in Kodi v18 or the plugin is not seeing Kodi?


    Also... Is there a way to adjust the Kodi Plugin polling time?

  • #2
    There is no polling.

    The plugin tries to connect/disconnect to a Kodi instance when it receives a Found/Lost message from Bonjour/Avahi
    Look in the logs if you correctly got a "Service Lost" notification when you close Kodi, and a "Service Found" notification when you open it.

    Comment


    • #3
      I cant figure it out. For instance... its working fine then all of a sudden, say 30 minutes into a show, boom... lights come on because the Kodi plugin thinks the show has stopped playing. Debug log attached, reg log below...

      Mar-02 2:38:12 PM Event Event Trigger "Media Room Kodi Video - Play"
      Mar-02 2:36:05 PM Event Event Trigger "Media Room Kodi Video - Stop"
      Mar-02 2:36:04 PM Event Event Trigger "Media Room Kodi Video - Play"
      Mar-02 2:24:45 PM Event Event Trigger "Media Room Kodi Video - Play"
      Mar-02 2:24:45 PM Event Event Trigger "Media Room Kodi Video - Stop"
      Mar-02 1:58:07 PM Event Event Trigger "Media Room Kodi Video - Play"


      Mar-02 2:38:12 PM Kodi INFO Trying to reconnect...
      Mar-02 2:37:42 PM Kodi INFO Failed to connect to Kodi player: Kodi (MediaPC) 192.168.2.61 The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
      Mar-02 2:37:23 PM Kodi INFO Trying to reconnect...
      Mar-02 2:37:23 PM Kodi INFO Disconnection detected
      Mar-02 2:36:04 PM Kodi INFO Trying to reconnect...
      Mar-02 2:36:04 PM Kodi INFO Disconnection detected
      Mar-02 2:24:45 PM Kodi INFO Trying to reconnect...
      Mar-02 2:24:45 PM Kodi INFO Disconnection detected
      Mar-02 1:49:26 PM Kodi INFO Trying to reconnect...
      Mar-02 1:49:26 PM Kodi INFO Disconnection detected
      Mar-02 1:48:48 PM Kodi INFO Resolved Service: Kodi (MediaPC) - _xbmc-jsonrpc-h._tcp. - 192.168.2.61 - 8080
      Mar-02 1:48:48 PM Kodi INFO Found Service: Kodi (MediaPC)
      Mar-02 1:48:36 PM Kodi INFO Lost Service: Kodi (MediaPC) - _xbmc-jsonrpc-h._tcp.
      Attached Files

      Comment

      Working...
      X