Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv15960
Modified Files:
cdbackup.py
Log Message:
A bugfix for the issue where multiple CDs couldn't be ripped concurrently.
The problem is that the main_backup_thread class does not have access to
change rip_thread to None, so we have to use what we CAN access to do it.
Index: cdbackup.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/cdbackup.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** cdbackup.py 22 Oct 2003 18:37:41 -0000 1.24
--- cdbackup.py 28 Oct 2003 02:37:32 -0000 1.25
***************
*** 29,32 ****
--- 29,37 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.25 2003/10/28 02:37:32 outlyer
+ # A bugfix for the issue where multiple CDs couldn't be ripped concurrently.
+ # The problem is that the main_backup_thread class does not have access to
+ # change rip_thread to None, so we have to use what we CAN access to do it.
+ #
# Revision 1.24 2003/10/22 18:37:41 mikeruelle
# if we have the coverart might as well copy it over
***************
*** 217,221 ****
try:
if (self.item.type == 'audiocd'):
! if self.rip_thread:
return [ ( self.show_status, _( 'Show CD ripping status' ) ) ]
else:
--- 222,226 ----
try:
if (self.item.type == 'audiocd'):
! if self.rip_thread and self.rip_thread.current_track != -1:
return [ ( self.show_status, _( 'Show CD ripping status' ) ) ]
else:
***************
*** 232,236 ****
def show_status(self, arg=None, menuw=None):
t = self.rip_thread
! if t:
pop = AlertBox(text=_( 'Ripping in progress\nTrack %d of %d' ) % \
(t.current_track, t.max_track))
--- 237,241 ----
def show_status(self, arg=None, menuw=None):
t = self.rip_thread
! if t.current_track != -1:
pop = AlertBox(text=_( 'Ripping in progress\nTrack %d of %d' ) % \
(t.current_track, t.max_track))
***************
*** 455,459 ****
# done
! self.rip_thread = None
--- 460,464 ----
# done
! self.current_track = -1
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog