[SCM] kodi-pvr-vdr-vnsi/master: fix admin window, broke after work on connection handling

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Fri Nov 4 00:20:22 UTC 2016


The following commit has been merged in the master branch:
commit ba23fed718edbb803913fde5e29c67177530dc84
Author: Rainer Hochecker <fernetmenta at online.de>
Date:   Sat Apr 2 07:25:00 2016 +0200

    fix admin window, broke after work on connection handling

diff --git a/pvr.vdr.vnsi/addon.xml.in b/pvr.vdr.vnsi/addon.xml.in
index 9445965..839cd8b 100644
--- a/pvr.vdr.vnsi/addon.xml.in
+++ b/pvr.vdr.vnsi/addon.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <addon
   id="pvr.vdr.vnsi"
-  version="2.3.4"
+  version="2.3.5"
   name="VDR VNSI Client"
   provider-name="FernetMenta, Team Kodi">
   <requires>
diff --git a/src/VNSIAdmin.cpp b/src/VNSIAdmin.cpp
index b82f521..cb511d0 100644
--- a/src/VNSIAdmin.cpp
+++ b/src/VNSIAdmin.cpp
@@ -840,6 +840,10 @@ bool cVNSIAdmin::Open(const std::string& hostname, int port, const char* name)
     return false;
   }
 
+  m_abort = false;
+  m_connectionLost = false;
+  CreateThread();
+
   if (!ConnectOSD())
     return false;
 
diff --git a/src/VNSIData.cpp b/src/VNSIData.cpp
index e65672e..95238b3 100644
--- a/src/VNSIData.cpp
+++ b/src/VNSIData.cpp
@@ -89,6 +89,7 @@ bool cVNSIData::Start(const std::string& hostname, int port, const char* name, c
   PVR->ConnectionStateChange("VNSI started", PVR_CONNECTION_STATE_CONNECTING, "VNSI started");
 
   m_abort = false;
+  m_connectionLost = true;
   CreateThread();
 
   return true;
@@ -1010,7 +1011,6 @@ bool cVNSIData::OnResponsePacket(cResponsePacket* pkt)
 
 void *cVNSIData::Process()
 {
-  m_connectionLost = true;
   std::unique_ptr<cResponsePacket> vresp;
 
   while (!IsStopped())

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list