Skip to content

Commit

Permalink
Always attempt a login prior to retrieving values from Backend
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Jan 8, 2022
1 parent ee67443 commit aa1f87a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ClientInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit aa1f87a

Please sign in to comment.