From aa1f87afe441ae868c4e1d2ffa8fdb079e806ba8 Mon Sep 17 00:00:00 2001 From: phunkyfish Date: Sat, 8 Jan 2022 13:14:52 +0000 Subject: [PATCH] Always attempt a login prior to retrieving values from Backend --- src/ClientInstance.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ClientInstance.cpp b/src/ClientInstance.cpp index 56573617..1c575772 100644 --- a/src/ClientInstance.cpp +++ b/src/ClientInstance.cpp @@ -195,6 +195,9 @@ bool CVNSIClientInstance::SupportRecordingsUndelete() PVR_ERROR CVNSIClientInstance::GetCapabilities(kodi::addon::PVRCapabilities& capabilities) { + if (cVNSISession::Open(m_hostname, m_port)) + cVNSISession::Login(); + capabilities.SetSupportsEPG(true); capabilities.SetSupportsRecordings(true); capabilities.SetSupportsRecordingsDelete(true);