[mythtv] Using TV from the program guide
jona at calluniversal.com
Fri Jun 18 11:34:35 EDT 2004
I'm trying to add functionality to the Program Guide so that you can watch Live TV directly from the program guide.
I've cut and pasted code from ProgramGuide.cpp into GuideGrid.cpp. However, all that happens when I execute the code from the Program Guide is a black window and a hung program. My TV function in GuideGrid is as follows:
void GuideGrid::Playback(ProgramInfo *rec)
TV *tv = new TV();
//state = kKilling; // stop preview playback and don't restart it
cerr << "Entering Live TV.\n";
while (tv->GetState() != kState_None)
cerr << "Exited Live TV.\n";
//state = kStarting; // restart playback preview
Any tips would be appreciated.
- Jonathan Abrams
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-dev