Author: duncan
Date: Sun Jan 7 18:44:48 2007
New Revision: 8947
Modified:
branches/rel-1/freevo/freevo_config.py
branches/rel-1/freevo/local_conf.py.example
branches/rel-1/freevo/src/audio/plugins/cdbackup.py
Log:
[ 1630005 ] CDBackup proposed changes
Patch from Justin Wetherell applied, but changed CDPAR_OPTS to CD_RIP_CDPAR_OPTS
Modified: branches/rel-1/freevo/freevo_config.py
==============================================================================
--- branches/rel-1/freevo/freevo_config.py (original)
+++ branches/rel-1/freevo/freevo_config.py Sun Jan 7 18:44:48 2007
@@ -764,6 +764,7 @@
CD_RIP_TMP_DIR = '/tmp/'
CD_RIP_TMP_NAME = 'track_%(track)s_being_ripped'
CD_RIP_PN_PREF = '%(artist)s/%(album)s/%(track)s - %(song)s'
+CD_RIP_CDPAR_OPTS = '-s'
CD_RIP_LAME_OPTS = '--vbr-new -b 192 -h'
CD_RIP_OGG_OPTS = '-m 128'
CD_RIP_FLAC_OPTS = '-8'
Modified: branches/rel-1/freevo/local_conf.py.example
==============================================================================
--- branches/rel-1/freevo/local_conf.py.example (original)
+++ branches/rel-1/freevo/local_conf.py.example Sun Jan 7 18:44:48 2007
@@ -405,6 +405,7 @@
# CD_RIP_TMP_DIR = '/tmp/'
# CD_RIP_TMP_NAME = 'track_%(track)s_being_ripped'
# CD_RIP_PN_PREF = '%(artist)s/%(album)s/%(track)s - %(song)s'
+# CD_RIP_CDPAR_OPTS = '-s'
# CD_RIP_LAME_OPTS = '--vbr-new -b 192 -h'
# CD_RIP_OGG_OPTS = '-m 128'
# CD_RIP_FLAC_OPTS = '-8'
Modified: branches/rel-1/freevo/src/audio/plugins/cdbackup.py
==============================================================================
--- branches/rel-1/freevo/src/audio/plugins/cdbackup.py (original)
+++ branches/rel-1/freevo/src/audio/plugins/cdbackup.py Sun Jan 7 18:44:48 2007
@@ -101,6 +101,12 @@
will be executed is stored in CDPAR_CMD.
CDPAR_CMD = 'cdparanoia'
+ For ripping the wav from the CD, we use cdparanoia. You can specify the
options
+ used. For error pertection, you the following:
+ CD_RIP_CDPAR_OPTS = '-s'
+ For a quick rip (about an eight of the time as the line above) use:
+ CD_RIP_CDPAR_OPTS = '-s -Z'
+
Lame .mp3 encoding parameters:
Lame is used for .mp3 encoding. The actual command that will be executed is
stored in LAME_CMD
@@ -132,6 +138,7 @@
CD_RIP_PN_PREF= '%(genre)s/%(artist)s/%(album)s/%(song)s'
CDPAR_CMD = 'cdparanoia'
+ CD_RIP_CDPAR_OPTS = '-s'
LAME_CMD = 'lame'
CD_RIP_LAME_OPTS = '--vbr-new'
@@ -164,6 +171,7 @@
('CDPAR_CMD', config.CONF.cdparanoia, ''),
('OGGENC_CMD', config.CONF.oggenc, ''),
('FLAC_CMD', config.CONF.flac, ''),
+ ('CD_RIP_CDPAR_OPTS', '-s', ''),
('CD_RIP_PN_PREF', '%(artist)s/%(album)s/%(song)s', ''),
('CD_RIP_LAME_OPTS', '--preset standard', ''),
('CD_RIP_OGG_OPTS', '-m 128', ''),
@@ -402,7 +410,8 @@
output = ''
# Build the cdparanoia command to be run
- cdparanoia_command = str('%s -s %s' % (config.CDPAR_CMD,
str(i+1))).split(' ')+\
+ cdparanoia_command = str('%s %s %s' % (config.CDPAR_CMD,
config.CD_RIP_CDPAR_OPTS, \
+ str(i+1))).split(' ')+\
[ wav_file ]
_debug_('cdparanoia: %s' % cdparanoia_command)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog