Skip to content

Commit

Permalink
Merge pull request #363 from Rainer-Keller/Piers
Browse files Browse the repository at this point in the history
Show error message when credentials are invalid
  • Loading branch information
flubshi authored Dec 13, 2024
2 parents abd0e5a + f76af49 commit 9533c6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ For any support regarding this plugin, please create a github issue.

1. `git clone --branch master https://github.com/xbmc/xbmc.git`
2. `git clone --branch Piers https://github.com/flubshi/pvr.waipu.git`
3. `cd pvr.waipu && mkdir build && cd build`
4. `cmake -DADDONS_TO_BUILD=pvr.waipu -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons`
5. `make`
3. Build Kodi first
4. `cd pvr.waipu && mkdir build && cd build`
5. `cmake -DADDONS_TO_BUILD=pvr.waipu -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=<Kodi-build-dir>/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons`
6. `make`


## Useful links
Expand Down
2 changes: 2 additions & 0 deletions src/WaipuData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ void WaipuData::LoginThread()
}

continue;
} else if (m_login_status == WAIPU_LOGIN_STATUS::INVALID_CREDENTIALS) {
kodi::QueueNotification(QUEUE_ERROR, "", kodi::addon::GetLocalizedString(30030));
}

kodi::addon::CInstancePVRClient::ConnectionStateChange("Connecting",
Expand Down

0 comments on commit 9533c6e

Please sign in to comment.