Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CD ripper that generates song titles?
Date: Thu, 27 Aug 2015 19:43:00
Message-Id: 20150827194246.GA26102@waltdnes.org
In Reply to: Re: [gentoo-user] CD ripper that generates song titles? by Joerg Schilling
1 On Thu, Aug 27, 2015 at 01:37:42PM +0200, Joerg Schilling wrote
2
3 > BTW: I recommend to add: speed=4 paraopts=proof and if your drive supports
4 > C2 errors, it may be a good idea to use:
5 >
6 > speed=4 paraopts=proof,c2check
7 >
8 > as add-on.
9
10 How do I know that the drive goes as low as 4? "eject -X /dev/sr0"
11 and "eject -X /dev/sr1" both report 48 with no indication of the minimum
12 speed. Here's the contents of my /proc/sys/dev/cdrom/info
13
14 CD-ROM information, Id: cdrom.c 3.20 2003/12/17
15
16 drive name: sr1 sr0
17 drive speed: 48 48
18 drive # of slots: 1 1
19 Can close tray: 1 1
20 Can open tray: 1 1
21 Can lock tray: 1 1
22 Can change speed: 1 1
23 Can select disk: 0 0
24 Can read multisession: 1 1
25 Can read MCN: 1 1
26 Reports media changed: 1 1
27 Can play audio: 1 1
28 Can write CD-R: 1 1
29 Can write CD-RW: 1 1
30 Can read DVD: 1 1
31 Can write DVD-R: 1 0
32 Can write DVD-RAM: 0 0
33 Can read MRW: 1 1
34 Can write MRW: 1 1
35 Can write RAM: 1 1
36
37 > The reason why cdda2wav uses systematic file names is to allow easy
38 > copying with cdrecord (by using cdrecord *.wav). If there is a demand
39 > on title based filenames, I could add this feature.
40
41 Title-artist-based filenames are harder than it looks. I'm working on
42 a bash script to generate title_-_artist.flac filenames from
43 audio_nn.inf data. Then I'll pass that name to flac's "-o" parameter.
44 I've already run into one CD who's .inf file format is...
45
46 Performer= 'Various Artists'
47 Tracktitle= 'Johnny Cash / I Walk The Line'
48
49 ...while another CD has .inf data like...
50
51 Performer= 'Glenn Miller'
52 Tracktitle= 'In the mood'
53
54 The script can select 2 branches depending on whether or not there's a
55 "/" in Tracktitle, but I'm sure there are probably other variants out
56 there.
57
58 --
59 Walter Dnes <waltdnes@××××××××.org>
60 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] CD ripper that generates song titles? Neil Bothwick <neil@××××××××××.uk>