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

Modified Files:
        videoitem.py 
Log Message:
make it possible to deactivate mmpython for an item

Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -d -r1.86 -r1.87
*** videoitem.py        20 Sep 2003 15:08:26 -0000      1.86
--- videoitem.py        20 Sep 2003 17:02:09 -0000      1.87
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.87  2003/09/20 17:02:09  dischi
+ # make it possible to deactivate mmpython for an item
+ #
  # Revision 1.86  2003/09/20 15:08:26  dischi
  # some adjustments to the missing testfiles
***************
*** 93,97 ****
  
  class VideoItem(Item):
!     def __init__(self, filename, parent, info=None):
          if parent and parent.media:
              url = 'cd://%s:%s:%s' % (parent.media.devicename, parent.media.mountdir,
--- 96,100 ----
  
  class VideoItem(Item):
!     def __init__(self, filename, parent, info=None, parse=True):
          if parent and parent.media:
              url = 'cd://%s:%s:%s' % (parent.media.devicename, parent.media.mountdir,
***************
*** 99,103 ****
          else:
              url = filename
!         Item.__init__(self, parent, mmpython.parse(url))
  
          # fix values
--- 102,112 ----
          else:
              url = filename
! 
!         if parse:
!             info = mmpython.parse(url)
!         else:
!             info = None
! 
!         Item.__init__(self, parent, info)
  
          # fix values




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to