Skip to content

Commit

Permalink
Always log version and protocol for VDR backend login
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Jan 8, 2022
1 parent 021a238 commit ee67443
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ bool cVNSISession::Login()
m_server = serverName;
m_version = serverVersion;
m_protocol = static_cast<int>(protocol);
kodi::Log(ADDON_LOG_INFO,
"Stored version of VDR backend: '%s', Version: '%s' with protocol version '%d'",
serverName, serverVersion, protocol);

if (m_protocol < VNSI_MIN_PROTOCOLVERSION)
throw "Protocol versions do not match";
Expand Down

0 comments on commit ee67443

Please sign in to comment.