Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mediaportal plugin error: Cannot read PVR client name string properties #189

Open
SquackMcDuck opened this issue Oct 12, 2023 · 0 comments

Comments

@SquackMcDuck
Copy link

SquackMcDuck commented Oct 12, 2023

Hi guys.

I have a problem : ### PVR client doesn't start

This is the sympthom.
https://imagizer.imageshack.com/img923/2430/l588XA.jpg
PVR Manager is starting up... 0%

HW/SW configuration:
Kodi 20.1, Windows 11 , Mediaportal 2 ver. 1.23.200.0 , VLC 3.0.18 (just for test Mediaportal Live TV)
Intel core i5 , 16 GB Ram, 256Gb Disk + some TB of externak HD drives, TVB-T/T2/C Usb stick.

A brief history:
I activated new weeks ago Mediaportal Addon and it working but video was a little bit jerky.
So, I triyed to change LiveTv server and Kodi addon. I test few addons but the best is MediaPortal, so I try to go back and enable it again uninstalling all others LiveTV server external to Kodi.
When I enabled again MediaPortal Addon I got the message shown in the image on the top.

I already disabed/enabled addon and also uninstalled it/reinstalled. Nothing change.
I configured newly MediaPortal addon and input static ip address and other infos and had same error: PVR continue turn at 0%.
I disabled also Automatc Updates of MediaPortal Addon. Same result.

I test MediaPortal Server Live TV server as shown here using VLC and all work fine: with MediaPortal Server + VNC video is not jerky anymore it is fluid and smoothly.
So, the problem is limited to MediaPortal addon/Kodi.

In the end I see the log. I enabled log for specific PVR component and this is the result:

2023-10-11 10:34:02.423 T:4148    error <general>: GetAddonNameStringProperties: Add-on 'pvr.mediaportal.tvserver' returned an error: server error
2023-10-11 10:34:02.423 T:4148    error <general>: PVR::CPVRClient::SetConnectionState: Cannot read PVR client name string properties
2023-10-11 10:34:04.454 T:4148    error <general>: GetAddonNameStringProperties: Add-on 'pvr.mediaportal.tvserver' returned an error: server error
2023-10-11 10:34:04.455 T:4148    error <general>: PVR::CPVRClient::SetConnectionState: Cannot read PVR client name string properties
2023-10-11 10:34:04.455 T:4148    error <general>: AddOnLog: pvr.mediaportal.tvserver: Could not connect to MediaPortal TV Server backend.
2023-10-11 10:34:04.455 T:4148    error <general>: GetAddonNameStringProperties: Add-on 'pvr.mediaportal.tvserver' returned an error: server error

I don't found any informations about error reported in log.

I found the log error message in file names PVRClient.cpp

void CPVRClient::SetConnectionState(PVR_CONNECTION_STATE state)
{
  if (state == PVR_CONNECTION_STATE_CONNECTED)
  {
    // update properties - some will only be available after add-on is connected to backend
    if (!GetAddonProperties())
      CLog::LogF(LOGERROR, "Error reading PVR client properties");
  }
  else
  {
    if (!GetAddonNameStringProperties())
      CLog::LogF(LOGERROR, "Cannot read PVR client name string properties");
  }
[...]
}

but i'm not a software developer and I don't understand calls between KODI code and Mediaportal addon code.

So, anyone has any idea or canhelp me to start PVR ?

Thank for any reply and please forgive me for my bad english.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant