Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 8555fa282500787d788097d75f86ad2085be896e 1 parent 3846558
jdembski authored
View
2  addons/pvr.vuplus/addon/addon.xml
@@ -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>
View
4 addons/pvr.vuplus/addon/changelog.txt
@@ -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
View
6 addons/pvr.vuplus/src/VuData.cpp
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.