Project Links mvpmc.org   wiki

mvpmc crash pulling mythtv recordings

View: New views
1 Messages — Rating Filter:   Alert me  

mvpmc crash pulling mythtv recordings

by Michael Drons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Sometimes I have recordings in the database that do not have an Original Airdate, the datebase has a NULL value.  

Does anyone else have this issue?

This is the fix that works for me.  Any thoughts?

Thanks, Mike

 libs/libcmyth/socket.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libs/libcmyth/socket.c b/libs/libcmyth/socket.c
index 9b6510f..11d1c6e 100644
--- a/libs/libcmyth/socket.c
+++ b/libs/libcmyth/socket.c
@@ -1168,6 +1168,9 @@ cmyth_rcv_timestamp(cmyth_conn_t conn, int *err, cmyth_timestamp_t *ts,
         if ((strlen(tbuf) == 1) && (tbuf[0] = ' '))
                 return consumed;

+       if (strlen(tbuf) == 0)
+                       return consumed;
+
        if (*ts)
                ref_release(*ts);


     

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel