I was hoping John Poet would chime in himself on this, but this is a big
bug for HDTV users (may cause them to record the wrong subchannel) and
so I think it's important for it to go in.

It's my belief this functionality can't work the way it's coded.  The
required major channel number is not reliably in the database.  The
attached simple patch disables checking the major channel number (but
not the code to do so).  It can probably be re-enabled as part of moving
HDTV to share database structure with the new DVB stuff.

-Doug
Index: libs/libmythtv/hdtvrecorder.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/hdtvrecorder.cpp,v
retrieving revision 1.36
diff -u -r1.36 hdtvrecorder.cpp
--- libs/libmythtv/hdtvrecorder.cpp	21 Jan 2005 08:03:22 -0000	1.36
+++ libs/libmythtv/hdtvrecorder.cpp	27 Jan 2005 22:56:21 -0000
@@ -921,7 +921,7 @@
     int pos = freqid.find('-');
     if (pos != -1)
     {
-        desired_channel = atoi(freqid.left(pos));
+        desired_channel = -1;
         desired_subchannel = atoi(freqid.mid(pos+1).ascii());
     }
     else

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to