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

Modified Files:
        cdbackup.py 
Log Message:
Use util.tagmp3() function by default, since we can choose the tag version.
Well, it's not in the configuration yet, but soon enough.


Index: cdbackup.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/cdbackup.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cdbackup.py 1 Jul 2003 14:33:26 -0000       1.6
--- cdbackup.py 1 Jul 2003 19:56:29 -0000       1.7
***************
*** 28,31 ****
--- 28,35 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.7  2003/07/01 19:56:29  outlyer
+ # Use util.tagmp3() function by default, since we can choose the tag version.
+ # Well, it's not in the configuration yet, but soon enough.
+ #
  # Revision 1.6  2003/07/01 14:33:26  outlyer
  # Fixed a double escape of single quotes.
***************
*** 274,299 ****
              if DEBUG: print 'rip_format = %s' %rip_format
              if rip_format=='mp3' or rip_format== 'MP3':
-                 artist_quoted = '\"' + artist + '\"'
-                 album_quoted = '\"' + album + '\"'
-                 genre_quoted = '\"' + genre + '\"'
-                 song_name_quoted = '\"' + song_names[i] + '\"'
- 
-                 user_rip_path_prefs_quoted = {  'artist'  : artist_quoted,
-                                                                 'album': 
album_quoted,
-                                                                 'genre' : 
genre_quoted,
-                                                                 'song'  : 
song_name_quoted,
-                                                                 'track'  : track }   
                             
-                 
-                                 
-                 id3_tag_opts = ' '
-                 id3_tag_opts_temp = config.CD_RIP_ID3_TAG_OPTS
-                 id3_tag_opts  += id3_tag_opts_temp % user_rip_path_prefs_quoted
-                 id3_tag_opts += ' '
-                 
-                 if DEBUG: print 'The id3_tag_opts = %s' %id3_tag_opts
              
                  lame_command =  config.LAME_CMD + ' --nohist -h ' \
                                            + config.CD_RIP_LAME_OPTS \
-                                           + id3_tag_opts \
                                            + ' \"' \
                                            + pathname_cdparanoia \
--- 278,284 ----
***************
*** 307,311 ****
                  if DEBUG: 'lame:= %s' %lame_command                          
                  os.system(lame_command)
!                 
                  # Remove the .wav file.
                  rm_command = '%s%s.wav' % (pathname_cdparanoia, path_tail_cdparanoia)
--- 292,299 ----
                  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.
                  rm_command = '%s%s.wav' % (pathname_cdparanoia, path_tail_cdparanoia)




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to