[mythtv-commits] mythtv commit: r7643 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Oct 30 13:03:18 EST 2005


      Author: danielk
        Date: 2005-10-30 18:03:18 +0000 (Sun, 30 Oct 2005)
New Revision: 7643
   Changeset: http://cvs.mythtv.org/trac/changeset/7643

Modified:

   trunk/mythtv/libs/libmythtv/guidegrid.cpp
   trunk/mythtv/libs/libmythtv/guidegrid.h
   trunk/mythtv/libs/libmythtv/progfind.cpp
   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythtv/tv_play.h
   trunk/mythtv/programs/mythfrontend/main.cpp

Log:

Fixes #268.

The EPG wasn't really forgetting the current channel.
The problem was that it was looking up channum which is
not always unique.

This change makes quidegrid look for the chanid if it is 
passed one and fallback on channum if it is not.

Then in LiveTV mode this change adds code to look up the 
chanid of the current channel. But in progfind.cpp and 
programs/mythfrontend/main.cpp we still use the channum.
This is fine because in these cases we aren't trying to 
start on a particular channel on a particular tuner,
but rather just start in the same place whenever the 
grid is brought up.

This also does a little bit of refactoring in that it passes
chanid around as an unsigned integer rather than a string.






More information about the mythtv-commits mailing list