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

Status = 1 #193

Open
pgranat opened this issue Oct 10, 2022 · 0 comments
Open

Status = 1 #193

pgranat opened this issue Oct 10, 2022 · 0 comments

Comments

@pgranat
Copy link

pgranat commented Oct 10, 2022

Hi,
Kodi: Matrix
PVR Stalker: 19.0.4

Recently from one Middleware I receiver error:

ERROR <general>: AddOnLog: pvr.stalker: GetProfile: status=1 | msg= | block_msg=

Others are working just fine.

The error is generated here in src/SessionManager.cpp:

switch (m_profile->status)
  {
    case 0:
      break;
    case 2:
      ret = DoAuth();
      if (ret != SERROR_OK)
        return ret;

      return GetProfile(true);
    case 1:
    default:
      m_lastUnknownError = m_profile->msg;
      kodi::Log(ADDON_LOG_ERROR, "%s: status=%i | msg=%s | block_msg=%s", __func__,
                m_profile->status, m_profile->msg, m_profile->block_msg);
      return SERROR_UNKNOWN;
  }

However it gives no status reason and I don't know what to fix. As you can see there is no pointer for status=1 it automatically throws error.

Anyone knows which those status code means ? Probably 1 is some failed code

I've tried to

case 1:
        break;

But it didn't help. It throws errors further on getting channels.

P.S
On other client same credentials and middleware works flawlessly. Only kodi fails.

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