Kodi Community Forum
[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 (/showthread.php?tid=125232)



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - sb206 - 2012-04-04

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?


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-04

(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...


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - sb206 - 2012-04-04

It is the right Setting. But it says something problems jrson



[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-04-04

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.


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - sb206 - 2012-04-05

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?


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-05

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



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-05

(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();



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-05

(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/" ...}




RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-05

(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++;



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-05

(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



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - sb206 - 2012-04-05

Hello trans. Please could you post again a complete version. With your last version i have problems with the jsonrpc and other programms.


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-05

(2012-04-05, 17:39)trans Wrote:
(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

Thanks for your help testing it - are all picons showing up?
(2012-04-05, 17:44)sb206 Wrote: Hello trans. Please could you post again a complete version. With your last version i have problems with the jsonrpc and other programms.

What jsonrpc? The addon does not use json at all...


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-05

(2012-04-05, 17:45)jdembski Wrote: Thanks for your help testing it - are all picons showing up?

Yes, all I need to be displayed


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-04-05

Post your win32 build trans so I can test my picons Smile


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-05

current from git: https://github.com/jdembski/xbmc-addon-vuplus.git
current from git: https://github.com/opdenkamp/xbmc.git

compiled for windows

the only addon: http://www.mediafire.com/?n2j8clnsee5e2uh

XBMC setup including addon: http://www.mediafire.com/?vm9559d9ibd7v64