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

Modified Files:
        directory.py 
Log Message:
better cache handling

Index: directory.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/directory.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** directory.py        2 Jul 2003 20:07:49 -0000       1.17
--- directory.py        2 Jul 2003 22:05:16 -0000       1.18
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.18  2003/07/02 22:05:16  dischi
+ # better cache handling
+ #
  # Revision 1.17  2003/07/02 20:07:49  dischi
  # use bins support from mmpython
***************
*** 321,325 ****
          mmpython_dir = self.dir
          if self.media:
!             if self.dir != self.media.mountdir:
                  mmpython_dir = None
                  num_changes = 0
--- 324,328 ----
          mmpython_dir = self.dir
          if self.media:
!             if self.media.cached:
                  mmpython_dir = None
                  num_changes = 0
***************
*** 340,344 ****
          if num_changes > 0:
              mmpython.cache_dir(mmpython_dir)
!             
          play_items = []
          for t in ( 'video', 'audio', 'image', 'games' ):
--- 343,349 ----
          if num_changes > 0:
              mmpython.cache_dir(mmpython_dir)
!             if self.media:
!                 self.media.cached = TRUE
! 
          play_items = []
          for t in ( 'video', 'audio', 'image', 'games' ):




-------------------------------------------------------
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/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to