Kodi Community Forum
PVR addon doesnt start - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: MediaPortal (https://forum.kodi.tv/forumdisplay.php?fid=171)
+---- Thread: PVR addon doesnt start (/showthread.php?tid=306830)



PVR addon doesnt start - komplex - 2017-02-12

Libreelec
Log: http://pastebin.com/raw/pK89jAVX

Windows
Log: http://pastebin.com/raw/qYTXkCsD

Just keep seeing "PVR - PVR::CPVRClients::ConnectionStateChange - invalid handler data" in the log


PVR addon doesnt start - ksooo - 2017-02-13

The "invalid handler data" is not of interest. But the log indicates that the add-on cannot reach your pvr backend server. Internal connection state changes from "connecting" (7) to "server unreachable" (1) several times.


RE: PVR addon doesnt start - komplex - 2017-02-13

The backend is on the that windows system and is working fine (i can preview channels from the setup menu) I'll do some more tests later today


PVR addon doesnt start - ksooo - 2017-02-13

(2017-02-13, 12:31)komplex Wrote: The backend is on the that windows system and is working fine (i can preview channels from the setup menu) I'll do some more tests later today


The log clearly indicates that the Kodi pvr client add-on cannot connect to the server. The fact that it is working in general is unrelated.

EDIT:
"16:41:10.107 T:4029670304 INFO: AddOnLog: MediaPortal PVR Client: Mediaportal pvr addon 2.4.16 connecting to 192.168.0.2:9565
...
16:41:10.110 T:4029670304 ERROR: AddOnLog: MediaPortal PVR Client: Could not connect to MediaPortal TV Server backend."

Is 192.168.0.2 the ip address of your server? Can you ping it from the client machine using this address?

What happens if you change the address to 127.0.0.1? You said the server and Kodi are located on the same machine.


RE: PVR addon doesnt start - komplex - 2017-02-13

(2017-02-13, 16:12)ksooo Wrote: What happens if you change the address to 127.0.0.1? You said the server and Kodi are located on the same machine.

Was getting the same error, i gave up on it for now but thanks anyway for looking into it


RE: PVR addon doesnt start - mcelliott - 2017-02-13

Have you installed the MediaPortal TV Sever plugin that allows the TV sever to communicate with Kodi?


RE: PVR addon doesnt start - Ed76 - 2017-05-26

i also have this problem. last working version for me was mp2 spring 2016 release. i use win 8.1 x64, kodi and mp tv server on the same pc. the behavior is strange: after i turn on pc or after a windows-reboot pvr manager doesnt start:

13:38:22.149 T:2732 INFO: AddOnLog: MediaPortal PVR Client: Mediaportal pvr addon 2.4.19 connecting to 127.0.0.1:9596
13:38:22.149 T:2732 DEBUG: AddOnLog: MediaPortal PVR Client: Connection state change (0 -> 7)
13:38:22.149 T:2732 DEBUG: AddOnLog: MediaPortal PVR Client: GetConnectionString:
13:38:22.149 T:2732 DEBUG: PVR - V1::KodiAPI:TongueVR::CAddonCallbacksPVR:TongueVRConnectionStateChange - state for connection '' on client 'MediaPortal PVR Client' changed from '0' to '7'
13:38:22.149 T:2744 ERROR: PVR - PVR::CPVRClients::ConnectionStateChange - invalid handler data




if i close kodi (back to desktop) and start kodi again, pvr is working perfectly fine:



13:42:33.336 T:3884 INFO: AddOnLog: MediaPortal PVR Client: Mediaportal pvr addon 2.4.19 connecting to 127.0.0.1:9596
13:42:33.336 T:3884 DEBUG: AddOnLog: MediaPortal PVR Client: Connection state change (0 -> 7)
13:42:33.336 T:3884 DEBUG: AddOnLog: MediaPortal PVR Client: GetConnectionString:
13:42:33.336 T:3884 DEBUG: PVR - V1::KodiAPI:TongueVR::CAddonCallbacksPVR:TongueVRConnectionStateChange - state for connection '' on client 'MediaPortal PVR Client' changed from '0' to '7'
13:42:33.336 T:3884 INFO: AddOnLog: MediaPortal PVR Client: Connected to 127.0.0.1:9596



(pvr is also working fine afer start/restart windows and than open/close the mp2 tvserver configuration setup bevor starting kodi).