Update of /cvsroot/freevo/freevo/src/audio/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv21855/src/audio/plugins
Modified Files: cdbackup.py Log Message: * TRUE/FALSE wasn't working in Python 2.3... * Wrapped the tagging function in a try: except because it failed on a data track and Freevo needed to be restarted to rip another CD. Index: cdbackup.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/audio/plugins/cdbackup.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** cdbackup.py 13 Sep 2003 10:08:22 -0000 1.17 --- cdbackup.py 14 Sep 2003 20:47:48 -0000 1.18 *************** *** 29,32 **** --- 29,37 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.18 2003/09/14 20:47:48 outlyer + # * TRUE/FALSE wasn't working in Python 2.3... + # * Wrapped the tagging function in a try: except because it failed on a data + # track and Freevo needed to be restarted to rip another CD. + # # Revision 1.17 2003/09/13 10:08:22 dischi # i18n support *************** *** 389,396 **** if DEBUG: 'lame: %s' %lame_command os.system(lame_command) ! ! util.tagmp3(pathname+path_tail+'.mp3', title=song_names[i], artist=artist, album=album, track=track, tracktotal=len(song_names)) # Remove the .wav file. --- 394,406 ---- if DEBUG: 'lame: %s' %lame_command os.system(lame_command) ! try: ! util.tagmp3(pathname+path_tail+'.mp3', title=song_names[i], artist=artist, album=album, track=track, tracktotal=len(song_names)) + except IOError: + # This sometimes fails if the CD has a data track + # This is not a 100% fix, but temporary until I figure out why + # it's trying to tag a data track + pass # Remove the .wav file. ------------------------------------------------------- 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