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

Modified Files:
        videoitem.py 
Log Message:
check for .raw file as image

Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** videoitem.py        4 Jan 2004 13:06:52 -0000       1.110
--- videoitem.py        4 Jan 2004 17:20:20 -0000       1.111
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.111  2004/01/04 17:20:20  dischi
+ # check for .raw file as image
+ #
  # Revision 1.110  2004/01/04 13:06:52  dischi
  # make it possible to call thumbnail creation with MENU_CALL_ITEM_ACTION
***************
*** 168,172 ****
              self.network_play = False
              self.mimetype = self.url[:self.url.find('://')].lower()
!             
          
          
--- 171,179 ----
              self.network_play = False
              self.mimetype = self.url[:self.url.find('://')].lower()
!         if not self.image or (self.parent and self.image == self.parent.image):
!            image = vfs.getoverlay(self.filename + '.raw')
!            if os.path.exists(image):
!                self.image = image
!                self.files.image = image
          
          
***************
*** 316,320 ****
          pop = PopupBox(text=_('Please wait....'))
          pop.show()
!         util.videothumb.snapshot(self.filename, os.path.splitext(self.filename)[0] + 
'.png')
          pop.destroy()
          if menuw.menustack[-1].selected != self:
--- 323,328 ----
          pop = PopupBox(text=_('Please wait....'))
          pop.show()
! 
!         util.videothumb.snapshot(self.filename)
          pop.destroy()
          if menuw.menustack[-1].selected != self:




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to