Skip to content
This repository
Browse code

[vuplus]: fix: de-activate addon if webinterface cannot be reached

  • Loading branch information...
commit 8555fa282500787d788097d75f86ad2085be896e 1 parent 3846558
jdembski authored
2  addons/pvr.vuplus/addon/addon.xml
... ... @@ -1,7 +1,7 @@
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <addon
3 3 id="pvr.vuplus"
4   - version="0.3.2"
  4 + version="0.3.3"
5 5 name="VU+ / Enigma2 Client"
6 6 provider-name="Joerg Dembski">
7 7 <requires>
4 addons/pvr.vuplus/addon/changelog.txt
... ... @@ -1,3 +1,7 @@
  1 +0.3.3:
  2 +- add: support for storing the last played positions for recordings. These will be stored in the file recordings.xml
  3 +- fix: if the webinterface cannot be loaded, deactivate the addon
  4 +
1 5 0.3.2:
2 6 - fix: continue to load channels even if we do not have any radio channels
3 7
6 addons/pvr.vuplus/src/VuData.cpp
@@ -603,6 +603,12 @@ bool Vu::Open()
603 603
604 604 m_bIsConnected = GetDeviceInfo();
605 605
  606 + if (!m_bIsConnected)
  607 + {
  608 + XBMC->Log(LOG_ERROR, "%s It seem's that the webinterface cannot be reached. Make sure that you set the correct configuration options in the addon settings!", __FUNCTION__);
  609 + return false;
  610 + }
  611 +
606 612 LoadLocations();
607 613
608 614 LoadChannelData();

0 comments on commit 8555fa2

Please sign in to comment.
Something went wrong with that request. Please try again.