Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuehlma committed Dec 23, 2023
1 parent efd9448 commit 5c41359
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: xbmc/xbmc
ref: Nexus
ref: master
path: xbmc
- name: Checkout pvr.teleboy repo
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ bool Session::Login(string u, string p)
m_isPlusMember = result.find("setIsPlusMember(1", endPos) != std::string::npos;
m_isComfortMember = result.find("setIsComfortMember(1", endPos)
!= std::string::npos;
if (!m_isPlusMember && false) {
if (!m_isPlusMember) {
kodi::Log(ADDON_LOG_INFO, "Free accounts are not supported.", m_userId.c_str());
kodi::QueueNotification(QUEUE_ERROR, "", kodi::addon::GetLocalizedString(30102));
m_nextLoginAttempt = std::time(0) + 60 * 60;
Expand Down
1 change: 0 additions & 1 deletion src/Session.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class Session: public HttpStatusCodeHandler
bool m_isPlusMember = false;
bool m_isComfortMember = false;
bool m_enableDolby = false;
bool m_enforceWidevineForRecordings = false;
bool m_favoritesOnly = false;
int64_t m_maxRecallSeconds = 60 * 60 * 24 * 7;
time_t m_nextLoginAttempt = 0;
Expand Down

0 comments on commit 5c41359

Please sign in to comment.