[mythtv] Re: Bug: Strange things happen if callsign field is not filledin

Chris Derossi chrismyth at derossi.com
Sun Mar 23 15:25:32 EST 2003


I ran into this same problem. The cause is a missing element in a list of
strings, causing a bunch of data items to be off by one. Here's a patch to
fix it:

RCS file: /var/lib/cvs/MC/libs/libmythtv/programinfo.cpp,v
retrieving revision 1.36
diff -u -r1.36 programinfo.cpp
--- programinfo.cpp     9 Mar 2003 11:52:38 -0000       1.36
+++ programinfo.cpp     23 Mar 2003 21:24:12 -0000
@@ -89,6 +89,10 @@
         chanid = " ";
     if (chanstr == "")
         chanstr = " ";
+    if (chansign == "")
+        chansign = " ";
+    if (channame == "")
+        channame = " ";
     if (pathname == "")
         pathname = " ";

_chris

----- Original Message -----
From: "Edward Wildgoose" <edward.wildgoose at frmhedge.com>


> This is presumably only likely to affect international users.  However,
when
> you run mythfilldatabase it asks a load of questions for each channel with
> reasonable defaults for most stuff.  However, the callsign field defaults
to
> blank, however, unless you enter some text in here strange things happen
in
> mythtv
>
> You can use the epg and set programs to record, however, once recorded
they
> appear in the list of recorded programs as "file not found"...  You also
> can't delete them from the delete menu (they disappear from the screen,
but
> reappear when you exit the screen).  Description of the recorded programs
is
> often variable, dates are wrong, and generally the whole display is not
> really showing what you recorded.
>
> I'm guessing here that callsign is being used as the key to lookup back
into
> the database to get channel info?  Perhaps documenting that callsign needs
> to be filled in would help?



More information about the mythtv-dev mailing list