[mythtv] Remote file timeout.

Jukka Kangas jka at purske.fi
Fri Dec 12 12:43:47 EST 2003


Hi,

I was having problems with playing recorded shows on remote frontend,
few seconds of darkness and then back to "select a recording to view".
The problem was that ReadStringList timed out and closed port before
backend replied. This patch fixes the timeout problem, but is there any
drawbacks having larger timeout value here (RequestBlock)?

--
Jukka



Index: libs/libmyth/remotefile.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/remotefile.cpp,v
retrieving revision 1.19
diff -u -u -b -B -r1.19 remotefile.cpp
--- libs/libmyth/remotefile.cpp 1 Dec 2003 20:17:52 -0000       1.19
+++ libs/libmyth/remotefile.cpp 12 Dec 2003 16:38:00 -0000
@@ -193,7 +193,7 @@

     lock.lock();
     WriteStringList(controlSock, strlist);
-    ReadStringList(controlSock, strlist, true);
+    ReadStringList(controlSock, strlist, false);
     lock.unlock();



More information about the mythtv-dev mailing list