From: epg <> Date: Sat, 28 Oct 2006 09:07:50 +0000 (+0000) Subject: Oops, in multi-file mode, all tracks are ripped even with -t option. X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/f881ea9dc419cd4c02ca82bb013b62d98d1155f1?hp=61bfdce5db66d9474754be365b25feac16c975b1 Oops, in multi-file mode, all tracks are ripped even with -t option. Fixing this also helps lose some duplication. --- diff --git a/fa-rip b/fa-rip index d13776f..cf0e9e8 100755 --- a/fa-rip +++ b/fa-rip @@ -168,10 +168,10 @@ def rip(device, trackcount, single_file): if device == None: device = '/dev/cdrom' - argv = ['cdparanoia', '-d', device] + argv = ['cdparanoia', '-d', device, '1-' + str(trackcount)] if single_file: - argv.extend(['1-' + str(trackcount), 'wav']) + argv.append('wav') else: argv.append('-B')