[mythtv] [PATCH] Use current tuner's channel to init EPG

Jim Radford radford+myth at blackbean.org
Sun Apr 27 11:28:18 EDT 2003


On Sun, Apr 27, 2003 at 10:23:23AM -0700, Jim Radford wrote:
> The EPG should start on the channel of the tuner it will effect.

Attaching the patch this time.

Index: libs/libmythtv/tv_play.cpp
===================================================================
RCS file: /var/lib/cvs/MC/libs/libmythtv/tv_play.cpp,v
retrieving revision 1.57
diff -u -r1.57 tv_play.cpp
--- libs/libmythtv/tv_play.cpp  25 Apr 2003 05:45:25 -0000      1.57
+++ libs/libmythtv/tv_play.cpp  27 Apr 2003 17:18:54 -0000
@@ -1817,9 +1817,9 @@
     QString dummy;
     QString channame = "3";

-    if (recorder)
-        recorder->GetChannelInfo(dummy, dummy, dummy, dummy, dummy, dummy,
-                                 dummy, dummy, channame, dummy);
+    if (activerecorder)
+        activerecorder->GetChannelInfo(dummy, dummy, dummy, dummy, dummy, dummy,
+                                       dummy, dummy, channame, dummy);

     QString chanstr = RunProgramGuide(channame, true, this);



More information about the mythtv-dev mailing list