Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv11962

Modified Files:
        cdbackup.py 
Log Message:
send OSD_MESSAGE when ripping is complete

Index: cdbackup.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/cdbackup.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** cdbackup.py 28 Nov 2003 19:26:36 -0000      1.28
--- cdbackup.py 2 Jan 2004 14:20:10 -0000       1.29
***************
*** 29,32 ****
--- 29,35 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.29  2004/01/02 14:20:10  dischi
+ # send OSD_MESSAGE when ripping is complete
+ #
  # Revision 1.28  2003/11/28 19:26:36  dischi
  # renamed some config variables
***************
*** 126,131 ****
--- 129,136 ----
  import util
  import plugin
+ import rc
  
  from gui.AlertBox import AlertBox
+ from event import *
  
  # Included to be able to access the info for Audio CDs
***************
*** 229,233 ****
                  ('CD_RIP_OGG_OPTS', '-m 128', ''),
                  ('FLAC_OPTS', '-8', '8==Best, but slowest compression'),
!                 ('RIP_TITLE_CASE','0','Autoconvert all track/album/artist names to 
title case'))
  
      def actions(self, item):
--- 234,239 ----
                  ('CD_RIP_OGG_OPTS', '-m 128', ''),
                  ('FLAC_OPTS', '-8', '8==Best, but slowest compression'),
!                 ('RIP_TITLE_CASE','0',
!                  'Autoconvert all track/album/artist names to title case'))
  
      def actions(self, item):
***************
*** 323,327 ****
          path_head = ''
          for media in config.REMOVABLE_MEDIA:
!             media.info.handle_type = 'cdrip'
          
          # Get the artist, album and song_names        
--- 329,334 ----
          path_head = ''
          for media in config.REMOVABLE_MEDIA:
!             if media.devicename == device:
!                 media.info.handle_type = 'cdrip'
          
          # Get the artist, album and song_names        
***************
*** 471,477 ****
          
          for media in config.REMOVABLE_MEDIA:
!             media.info.handle_type = 'audio'
  
          # done
          self.current_track = -1
  
--- 478,486 ----
          
          for media in config.REMOVABLE_MEDIA:
!             if media.devicename == device:
!                 media.info.handle_type = 'audio'
  
          # done
+         rc.post_event(Event(OSD_MESSAGE, arg=_('Ripping complete')))
          self.current_track = -1
  




-------------------------------------------------------
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