Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv19759
Modified Files:
cdbackup.py
Log Message:
Fixed a double escape of single quotes.
Todo:
o Move os.system() into runapp.
o Use eyeD3 for tagging
Index: cdbackup.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/cdbackup.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** cdbackup.py 1 Jul 2003 06:34:31 -0000 1.5
--- cdbackup.py 1 Jul 2003 14:33:26 -0000 1.6
***************
*** 28,31 ****
--- 28,39 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.6 2003/07/01 14:33:26 outlyer
+ # Fixed a double escape of single quotes.
+ #
+ # Todo:
+ #
+ # o Move os.system() into runapp.
+ # o Use eyeD3 for tagging
+ #
# Revision 1.5 2003/07/01 06:34:31 outlyer
# Forgot to commit this stuff.
***************
*** 285,289 ****
if DEBUG: print 'The id3_tag_opts = %s' %id3_tag_opts
! lame_command = config.LAME_CMD + ' -h ' \
+ config.CD_RIP_LAME_OPTS \
+ id3_tag_opts \
--- 293,297 ----
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 \
***************
*** 432,436 ****
def replace_special_char(self, string, repl='-'):
# Regular Expression Special Chars = . ^ $ * + ? { [ ] \ | ( )
! special_chars = [ '\"', '\`', '\\\\', '/','\'' ]
"""
--- 440,444 ----
def replace_special_char(self, string, repl='-'):
# Regular Expression Special Chars = . ^ $ * + ? { [ ] \ | ( )
! special_chars = [ '\"', '\`', '\\\\', '/','~' ]
"""
***************
*** 453,458 ****
# A few of the special characters get automatically converted to a
different char,
# rather than what is passed in as repl
! if (pattern == '\''):
! (new_string, num) = re.subn(pattern, '\\\'', new_string, count=0)
elif (pattern == '/'):
(new_string, num) = re.subn(pattern, '\\\\', new_string,
count=0)
--- 461,466 ----
# A few of the special characters get automatically converted to a
different char,
# rather than what is passed in as repl
! if (pattern == "\'"):
! (new_string, num) = re.subn(pattern, "\\\'", new_string, count=0)
elif (pattern == '/'):
(new_string, num) = re.subn(pattern, '\\\\', new_string,
count=0)
-------------------------------------------------------
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