[Release] DVBViewer Recording Service PVR
(2013-06-26, 11:36)Uukrul Wrote: I also had the same problem. Here is the fix:

Code:
addons/pvr.dvbviewer/src/DvbData.cpp | 4 ++--
addons/pvr.dvbviewer/src/DvbData.h   | 2 +-
addons/pvr.dvbviewer/src/client.cpp  | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/addons/pvr.dvbviewer/src/DvbData.cpp b/addons/pvr.dvbviewer/src/DvbData.cpp
index f67df23..a1d2fce 100644
--- a/addons/pvr.dvbviewer/src/DvbData.cpp
+++ b/addons/pvr.dvbviewer/src/DvbData.cpp
@@ -513,7 +513,7 @@ bool Dvb::OpenLiveStream(const PVR_CHANNEL& channelinfo)
   if (m_tsBuffer)
     SAFE_DELETE(m_tsBuffer);
   XBMC->Log(LOG_INFO, "Timeshifting starts; url=%s",
-      GetLiveStreamURL(channelinfo).c_str());
+      GetLiveStreamURL(channelinfo));
   m_tsBuffer = new TimeshiftBuffer(GetLiveStreamURL(channelinfo),
       g_strTimeshiftBufferPath);
   return m_tsBuffer->IsValid();
@@ -554,7 +554,7 @@ long long Dvb::LengthLiveStream(void)
   return m_tsBuffer->Length();
}

-CStdString Dvb::GetLiveStreamURL(const PVR_CHANNEL& channelinfo)
+const char * Dvb::GetLiveStreamURL(const PVR_CHANNEL& channelinfo)
{
   SwitchChannel(channelinfo);
   return m_channels[channelinfo.iUniqueId - 1].strStreamURL;
diff --git a/addons/pvr.dvbviewer/src/DvbData.h b/addons/pvr.dvbviewer/src/DvbData.h
index 517e219..70adb1b 100644
--- a/addons/pvr.dvbviewer/src/DvbData.h
+++ b/addons/pvr.dvbviewer/src/DvbData.h
@@ -248,7 +248,7 @@ public:
   long long SeekLiveStream(long long iPosition, int iWhence /* = SEEK_SET */);
   long long PositionLiveStream(void);
   long long LengthLiveStream(void);
-  CStdString GetLiveStreamURL(const PVR_CHANNEL& channelinfo);
+  const char * GetLiveStreamURL(const PVR_CHANNEL& channelinfo);

protected:
   virtual void *Process(void);
diff --git a/addons/pvr.dvbviewer/src/client.cpp b/addons/pvr.dvbviewer/src/client.cpp
index 3d0d1e7..6f8ee52 100644
--- a/addons/pvr.dvbviewer/src/client.cpp
+++ b/addons/pvr.dvbviewer/src/client.cpp
@@ -494,7 +494,7 @@ const char *GetLiveStreamURL(const PVR_CHANNEL &channel)
   if (!DvbData || !DvbData->IsConnected())
     return "";

-  return DvbData->GetLiveStreamURL(channel).c_str();
+  return DvbData->GetLiveStreamURL(channel);
}

bool CanPauseStream(void)

Thanks Uukrul, but I'm not developer
Where can I found this solution in compilation file?

The lastest night builds dont work for me in TV online (not view channels)
and neither found information about XBMC+PVR Dvbviewer, seem all is stopped


Thanks in advance


Messages In This Thread
New Version of PVR.Addon?? - by tvfreak - 2012-12-02, 18:20
Wrong channel name - by Highjack - 2013-04-27, 19:16
RE: [Release] DVBViewer Recording Service PVR - by defcon5 - 2013-06-26, 13:59
Cannot connect to dvbviewer... - by blion - 2014-11-22, 12:34
Logout Mark Read Team Forum Stats Members Help
[Release] DVBViewer Recording Service PVR12