[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2

  Thread Rating:
  • 16 Votes - 4.44 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sb206 Offline
Member
Posts: 79
Joined: May 2010
Reputation: 0
Post: #211
Thanks for your work. I use the version from trans. But i habe problems with the webif in this version. i can't connect to it. What is wrong?

[Image: sysp-145750.png][Image: widget][Image: widget]
find quote
jdembski Offline
Fan
Posts: 455
Joined: Feb 2012
Reputation: 11
Post: #212
(2012-04-04 17:14)sb206 Wrote:  Thanks for your work. I use the version from trans. But i habe problems with the webif in this version. i can't connect to it. What is wrong?

Check whether you are using the correct port in the addon settings...

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
sb206 Offline
Member
Posts: 79
Joined: May 2010
Reputation: 0
Post: #213
It is the right Setting. But it says something problems jrson

[Image: sysp-145750.png][Image: widget][Image: widget]
find quote
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #214
You have set a static IP on your VU+? and have you definitely confirmed you are using the right port?

The default port on webif is 8080 or something recently but the addon default is 80. Try accessing the webif by simply typing the IP of your VU+ into a browser and confirm it comes up and can stream channels etc

Also, can you confirm your box is Enigma 2 and has the latest webif on it.

[Image: widget]
find quote
sb206 Offline
Member
Posts: 79
Joined: May 2010
Reputation: 0
Post: #215
Sorry. I have a Dreambox but this is not the problem. I use the HTPC Manager. This programm uses the port from xbmc (For me 8181). This Programm says can't connect to XBMC PVR Build.

Ok. I will try this plugin with the latest Version from Opdenkamp. Where could i get a version fore Windows?

[Image: sysp-145750.png][Image: widget][Image: widget]
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #216
current from git: https://github.com/jdembski/xbmc-addon-vuplus.git
current from git: https://github.com/opdenkamp/xbmc.git

compiled under windows

I have a fault with the run or debug. When run as a release crashes XBMC.

When debug is at this point in the code
Code:
while (j<10 || it == strIcon.end())
    {
      if (*it == ':')
        j++;

      it++;
    }

The following message

http://www.mediafire.com/?mbab1l51gbs7sts
find quote
jdembski Offline
Fan
Posts: 455
Joined: Feb 2012
Reputation: 11
Post: #217
(2012-04-05 13:16)trans Wrote:  current from git: https://github.com/jdembski/xbmc-addon-vuplus.git
current from git: https://github.com/opdenkamp/xbmc.git

compiled under windows

I have a fault with the run or debug. When run as a release crashes XBMC.

When debug is at this point in the code
Code:
while (j<10 || it == strIcon.end())
    {
      if (*it == ':')
        j++;

      it++;
    }

The following message

http://www.mediafire.com/?mbab1l51gbs7sts

Can you check whether this fixes it? Unfortunately I don't have a system to test changes properly - hopefully I can set up a system by the end of this week...

Code:
diff --git a/src/vuplus/VuData.cpp b/src/vuplus/VuData.cpp
index 9418f75..50888de 100644
--- a/src/vuplus/VuData.cpp
+++ b/src/vuplus/VuData.cpp
@@ -613,7 +613,7 @@ bool Vu::LoadChannels(CStdString strServiceReference, CStdStr
     newChannel.strChannelName = strTmp;

     std::string strIcon;
-    strIcon = newChannel.strServiceReference;
+    strIcon = newChannel.strServiceReference.c_str();

     int j = 0;
     std::string::iterator it = strIcon.begin();

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #218
(2012-04-05 15:58)jdembski Wrote:  Can you check whether this fixes it? Unfortunately I don't have a system to test changes properly - hopefully I can set up a system by the end of this week...

Code:
diff --git a/src/vuplus/VuData.cpp b/src/vuplus/VuData.cpp
index 9418f75..50888de 100644
--- a/src/vuplus/VuData.cpp
+++ b/src/vuplus/VuData.cpp
@@ -613,7 +613,7 @@ bool Vu::LoadChannels(CStdString strServiceReference, CStdStr
     newChannel.strChannelName = strTmp;

     std::string strIcon;
-    strIcon = newChannel.strServiceReference;
+    strIcon = newChannel.strServiceReference.c_str();

     int j = 0;
     std::string::iterator it = strIcon.begin();

Unfortunately no, the error occurs exactly on it:
Code:
it        ""    
j        10
strIcon    "1:0:19:2B5C:3F3:1:C00000:0:0:0:"
this        0x0d051020 {m_bIsConnected=false m_strServerName="Vu" m_strURL="http://192.168.3.251:8088/" ...}


Sorry for my english, I use google translate.
find quote
jdembski Offline
Fan
Posts: 455
Joined: Feb 2012
Reputation: 11
Post: #219
(2012-04-05 16:38)trans Wrote:  Unfortunately no, the error occurs exactly on it:
Code:
it        ""    
j        10
strIcon    "1:0:19:2B5C:3F3:1:C00000:0:0:0:"
this        0x0d051020 {m_bIsConnected=false m_strServerName="Vu" m_strURL="http://192.168.3.251:8088/" ...}

Please try this - I think this will fix it...stupid error...

Code:
diff --git a/src/vuplus/VuData.cpp b/src/vuplus/VuData.cpp
index 9418f75..7d71684 100644
--- a/src/vuplus/VuData.cpp
+++ b/src/vuplus/VuData.cpp
@@ -613,12 +613,12 @@ bool Vu::LoadChannels(CStdString strServiceReference, CStdS
     newChannel.strChannelName = strTmp;

     std::string strIcon;
-    strIcon = newChannel.strServiceReference;
+    strIcon = newChannel.strServiceReference.c_str();

     int j = 0;
     std::string::iterator it = strIcon.begin();

-    while (j<10 || it == strIcon.end())
+    while (j<10 && it != strIcon.end())
     {
       if (*it == ':')
         j++;

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #220
(2012-04-05 17:27)jdembski Wrote:  Please try this - I think this will fix it...stupid error...

Code:
diff --git a/src/vuplus/VuData.cpp b/src/vuplus/VuData.cpp
index 9418f75..7d71684 100644
--- a/src/vuplus/VuData.cpp
+++ b/src/vuplus/VuData.cpp
@@ -613,12 +613,12 @@ bool Vu::LoadChannels(CStdString strServiceReference, CStdS
     newChannel.strChannelName = strTmp;

     std::string strIcon;
-    strIcon = newChannel.strServiceReference;
+    strIcon = newChannel.strServiceReference.c_str();

     int j = 0;
     std::string::iterator it = strIcon.begin();

-    while (j<10 || it == strIcon.end())
+    while (j<10 && it != strIcon.end())
     {
       if (*it == ':')
         j++;

with the patch it works, thanks


Sorry for my english, I use google translate.
find quote
Post Reply