Announcement

Collapse
No announcement yet.

Kodi not connecting with plugin after Kodi updated

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

  • Kodi not connecting with plugin after Kodi updated

    Hi Spud

    I've recently updated one of my kodi's (I have a few) and it now no longer connects to the plugin. I have checked the zeroconf and settings etc of the kodi instance which is on a mac. It used to be on the old XBMC plugin as another instance that still works ok. I think I've tried enabling logs but I can't switch that on either. Something is weird, I'll have a proper look tonight but if you have any ideas of what is up let me know. I don't really want to delete the devices just yet and re-do events etc [emoji849]

    Cheers

    J

  • #2
    as always I would need some debug logs.

    when you start the Kodi instance on mac, does the plug-in get notified that a new instance has started?

    Comment


    • #3
      Jun-08 21:52:56 Kodi INFO Resolved Service: Kodi (jasons-Mac-mini.local) - _xbmc-jsonrpc-h._tcp. - 192.168.1.20 - 8080
      Jun-08 21:52:55 Kodi INFO Found Service: Kodi (jasons-Mac-mini.local)

      Yes, it appears to see it, but the root device stays at disconnected. I can manually connect it then control the kodi from HS but any control/changes done kodi side aren't reflected in the plugin devs.

      Cheers

      J

      Comment


      • #4
        For the plug-in to work it needs to see 2 different services like below
        _xbmc-jsonrpc._tcp
        _xbmc-jsonrpc-h._tcp

        Code:
        Jun-08 11:57:46 INFO Resolved Service: Kodi (OpenELEC) - _xbmc-jsonrpc._tcp. - 192.168.1.156 - 9090
        Jun-08 11:57:46 INFO Resolved Service: Kodi (OpenELEC) - _xbmc-jsonrpc-h._tcp. - 192.168.1.156 - 80
        if it only see _xbmc-jsonrpc-h._tcp, make sure the settings "Allow remote control for application on this system" and "Allow remote control for application on other systems" are both turned on. Like shown in the user guide

        Comment


        • #5
          I checked all the settings, and they are correct. I tried changing the port from 8080 to 8081 did nothing. Rebooted routers too.

          I tried one of my other kodi's (which I have also updated recently) and got it to work.

          Code:
          Jun-09 20:15:50         Kodi    DEBUG <--192.168.1.25:8080 { "id": 2, "jsonrpc": "2.0", "result": [] }   
          
           Jun-09 20:15:50         Kodi    DEBUG -->192.168.1.25:8080 { "jsonrpc": "2.0", "method": "Player.GetActivePlayers", "params": {}, "id": 2 }   
          
           Jun-09 20:15:50         Kodi    DEBUG <--192.168.1.25:8080 { "id": 1, "jsonrpc": "2.0", "result": { "volume": 100 } }   
          
           Jun-09 20:15:50         Kodi    DEBUG -->192.168.1.25:8080 { "jsonrpc": "2.0", "method": "Application.GetProperties", "params": { "properties": [ "volume" ] }, "id": 1 }   
          
           Jun-09 20:15:50         Event    Event Trigger "AV KODI Lounge Connected"   
          
           Jun-09 20:15:50         Kodi    DEBUG <--192.168.1.25:9090 { "id": 0, "jsonrpc": "2.0", "result": "pong" }   
          
           Jun-09 20:15:50         Kodi    DEBUG <--192.168.1.25:8080 { "id": 0, "jsonrpc": "2.0", "result": "pong" }   
          
           Jun-09 20:15:50         Kodi    DEBUG -->192.168.1.25:8080 { "jsonrpc": "2.0", "method": "JSONRPC.Ping", "params": {}, "id": 0 }   
          
           Jun-09 20:15:50         Kodi    DEBUG -->192.168.1.25:9090 { "jsonrpc": "2.0", "method": "JSONRPC.Ping", "params": {}, "id": 0 }   
          
           Jun-09 20:15:50         Kodi    DEBUG Pinging on http port 8080   
          
           Jun-09 20:15:50         Kodi    DEBUG Connecting on tcp port 9090   
          
           Jun-09 20:15:50         Kodi    INFO Resolved Service: Kodi (Apple-TV-Lounge) - _xbmc-jsonrpc-h._tcp. - 192.168.1.25 - 8080   
          
           Jun-09 20:15:50         Kodi    INFO Resolved Service: Kodi (Apple-TV-Lounge) - _xbmc-jsonrpc._tcp. - 192.168.1.25 - 9090   
          
           Jun-09 20:15:50         Kodi    INFO Found Service: Kodi (Apple-TV-Lounge)   
          
           Jun-09 20:15:50         Kodi   INFO Found Service: Kodi (Apple-TV-Lounge)
          I checked the firewall on the mac kodi and its off. Can't get that 9090 service up??

          Comment


          • #6
            enable the logs in Kodi and check if the _xbmc-jsonrpc._tcp service is started correctly...

            Comment


            • #7
              Originally posted by spud View Post
              enable the logs in Kodi and check if the _xbmc-jsonrpc._tcp service is started correctly...


              Yeah that's it. I'm already on it. I disabled it and now that service won't start. Great, I'm not that familiar with macs, but that's why I got it I suppose

              Comment


              • #8
                sudo lsof -i :9090 | grep LISTEN

                Stopped what was using that port. Seems ok now *

                Comment

                Working...
                X