Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13795

Modified Files:
        mplayervis.py 
Log Message:
better blend at the beginning

Index: mplayervis.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/mplayervis.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mplayervis.py       25 Apr 2004 11:23:58 -0000      1.1
--- mplayervis.py       25 Apr 2004 15:15:08 -0000      1.2
***************
*** 30,34 ****
      import pygoom
  except:
!     raise Exception('[audio.mplayervis]: Pygoom not available, please install or 
remove this plugin.')
  
  
--- 30,35 ----
      import pygoom
  except:
!     raise Exception('[audio.mplayervis]: Pygoom not available, please install '+
!                     'or remove this plugin.')
  
  
***************
*** 44,48 ****
  mmap_file = '/tmp/mpav'
  skin = skin.get_singleton()
! osd = osd.get_singleton()
  
  
--- 45,49 ----
  mmap_file = '/tmp/mpav'
  skin = skin.get_singleton()
! osd  = osd.get_singleton()
  
  
***************
*** 51,57 ****
      coversurf  = None
  
!     blend      = 122
      blend_step = -2
!     max_blend  = 120
      c_timeout  = 8         # seconds on cover
      v_timeout  = 30        # seconds on visual
--- 52,58 ----
      coversurf  = None
  
!     blend      = 255
      blend_step = -2
!     max_blend  = 250
      c_timeout  = 8         # seconds on cover
      v_timeout  = 30        # seconds on visual
***************
*** 115,119 ****
              self.coversurf = transform.scale(image.load(self.coverfile),
                                               (self.rect.width, self.rect.height))
!         self.max_blend = 120
  
          self.c_timer = time.time()
--- 116,120 ----
              self.coversurf = transform.scale(image.load(self.coverfile),
                                               (self.rect.width, self.rect.height))
!         self.max_blend = 250
  
          self.c_timer = time.time()
***************
*** 148,152 ****
                      self.blend = self.max_blend
                  elif self.blend < 0:
!                     self.blend = 0
  
                  if time.time() - self.c_timer > self.timeout:
--- 149,154 ----
                      self.blend = self.max_blend
                  elif self.blend < 0:
!                     self.blend     = 0
!                     self.max_blend = 120
  
                  if time.time() - self.c_timer > self.timeout:



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to