I'm working on a small patch that allows the TV guide to remember the station that the TV was last watching. For example if you choose a station (say #2) and then you use c/v to change the channel in tvtime to another station (say #36) and then you go back to the TV guide it forgets where it was and goes back to the first station (#2 in this situation).
This isn't what most users expect. They expect when they hit escape the TV guide will be sitting on #36 (the last station they were viewing). At first I thought I would create a global variable called "CUR_CHAN" which held the current channel (TunerNextChannel(), TunerPreviousChannel() and TunerSetChannel() would keep this variable up to date), but then I realized there may be a global location where variables such as this should be stored (I'm actually using config.CUR_CHAN right now). However, I'm stuck at the event PLAY_END right now. I know I need to put a self.rebuild() in there with config.CUR_CHAN as the station, but I'm not sure how to go about doing it. So my questions ... 1.) Is there a location where global variables like this should be put? 2.) Could someone explaing the parameters of TVGuide.rebuild() to me? Thanks! --Joe ps. I know it's a small and somewhat insignificant patch, but I have to believe this annoys people besides me. -- Joe Stump <[EMAIL PROTECTED]> http://www.joestump.net "Label makers are proof God wants Sys Admins to be happy." ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
