Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv26147/src/tv

Modified Files:
        tv.py tvguide.py 
Log Message:
Added TVGUIDE_HOURS_PER_PAGE

Index: tv.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/tv.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** tv.py       13 Jul 2003 19:46:21 -0000      1.15
--- tv.py       3 Aug 2003 11:10:26 -0000       1.16
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.16  2003/08/03 11:10:26  dischi
+ # Added TVGUIDE_HOURS_PER_PAGE
+ #
  # Revision 1.15  2003/07/13 19:46:21  rshortt
  # Move the work portion of get_friendly_channel() into tv_util.
***************
*** 183,187 ****
  
          start_time = self.get_start_time()
!         stop_time = self.get_start_time() + 2 * 60 * 60
  
          channels = guide.GetPrograms(start=start_time+1, stop=stop_time-1)
--- 186,190 ----
  
          start_time = self.get_start_time()
!         stop_time = self.get_start_time() + config.TVGUIDE_HOURS_PER_PAGE * 60 * 60
  
          channels = guide.GetPrograms(start=start_time+1, stop=stop_time-1)

Index: tvguide.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/tvguide.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** tvguide.py  30 May 2003 03:40:39 -0000      1.8
--- tvguide.py  3 Aug 2003 11:10:26 -0000       1.9
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.9  2003/08/03 11:10:26  dischi
+ # Added TVGUIDE_HOURS_PER_PAGE
+ #
  # Revision 1.8  2003/05/30 03:40:39  outlyer
  # CVS has very weird merging behaviour. Both Rob and I made the same bugfix
***************
*** 80,85 ****
      def __init__(self, start_time, stop_time, start_channel, selected, player, 
menuw):
          gui.GUIObject.__init__(self)
-         self.n_cols  = 4
          self.col_time = 30 # each col represents 30 minutes 
          self.player = player
  
--- 83,88 ----
      def __init__(self, start_time, stop_time, start_channel, selected, player, 
menuw):
          gui.GUIObject.__init__(self)
          self.col_time = 30 # each col represents 30 minutes 
+         self.n_cols  = (stop_time - start_time) / 60 / self.col_time
          self.player = player
  




-------------------------------------------------------
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-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to