Permalink
Browse files

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

  • Loading branch information...
1 parent 3846558 commit 8555fa282500787d788097d75f86ad2085be896e jdembski committed Oct 10, 2012
Showing with 11 additions and 1 deletion.
  1. +1 −1 addons/pvr.vuplus/addon/addon.xml
  2. +4 −0 addons/pvr.vuplus/addon/changelog.txt
  3. +6 −0 addons/pvr.vuplus/src/VuData.cpp
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.vuplus"
- version="0.3.2"
+ version="0.3.3"
name="VU+ / Enigma2 Client"
provider-name="Joerg Dembski">
<requires>
@@ -1,3 +1,7 @@
+0.3.3:
+- add: support for storing the last played positions for recordings. These will be stored in the file recordings.xml
+- fix: if the webinterface cannot be loaded, deactivate the addon
+
0.3.2:
- fix: continue to load channels even if we do not have any radio channels
@@ -603,6 +603,12 @@ bool Vu::Open()
m_bIsConnected = GetDeviceInfo();
+ if (!m_bIsConnected)
+ {
+ 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__);
+ return false;
+ }
+
LoadLocations();
LoadChannelData();

0 comments on commit 8555fa2

Please sign in to comment.