# HG changeset patch
# User rosfran
# Date 1173382341 0
# Node ID c057ae06c14b801a1695140718f96dc5568f4c5a
# Parent  89cd1cc77cd12494578dcc989fb5ed254cc01a4e
[svn r409] Fixes read function from GMythFileTransfer to not try to read continuously if it was not LiveTV.

diff -r 89cd1cc77cd1 -r c057ae06c14b gmyth/src/gmyth_file_transfer.c
--- a/gmyth/src/gmyth_file_transfer.c	Thu Mar 08 18:39:03 2007 +0000
+++ b/gmyth/src/gmyth_file_transfer.c	Thu Mar 08 19:32:21 2007 +0000
@@ -640,7 +640,7 @@
         }
         g_free (data_buffer);
       } /* if */
-    } else if ( !(transfer->priv != NULL && transfer->priv->livetv != NULL &&
+    } else if ( !read_unlimited || !(transfer->priv != NULL && transfer->priv->livetv != NULL &&
 					transfer->priv->do_next_program_chain) ) {
     	total_read = GMYTHTV_FILE_TRANSFER_READ_ERROR;
     	g_object_unref (strlist);