Skip to content

Commit

Permalink
Show error if login fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuehlma committed Feb 5, 2023
1 parent 3f2c54c commit 1e584a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pvr.teleboy/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="pvr.teleboy"
version="20.3.3"
version="20.3.4"
name="Teleboy PVR Client"
provider-name="rbuehlma">
<requires>
Expand Down
2 changes: 2 additions & 0 deletions pvr.teleboy/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v20.3.4
- Show error if login fails
v20.3.3
- Fix segfault during addon creation (this time with actual change)
v20.3.2
Expand Down
2 changes: 2 additions & 0 deletions src/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ void Session::LoginThread() {
else
{
kodi::Log(ADDON_LOG_ERROR, "Login failed");
m_nextLoginAttempt = std::time(0) + 3600;
kodi::QueueNotification(QUEUE_ERROR, "", kodi::addon::GetLocalizedString(30101));
}
}
}
Expand Down

0 comments on commit 1e584a4

Please sign in to comment.