[paranoia] Ripping With Multiple Drives
Rob Ross
rbross at parl.ces.clemson.edu
Tue Sep 21 09:22:41 PDT 1999
Nathan,
We're doing something similar here on a smaller scale -- we're using 2 IDE
CD-ROMs to rip tracks which are stored on a parallel file system and
encoded using a batch scheduling system. The machine doing the ripping is
a P5-166 and the drives are on separate IDE buses.
I haven't really had any problems with this scheme other than some
file system specific issues which we have since worked out. So for two
drives anyway, everything is going great <smile>.
As far as telling when a drive is done, we eject the CD when finished. You
can then poll the drive occasionally with a little perl code:
# begin random perl code
if (system("cdparanoia -qQ -d $cddev")) {
#
# NO CD IN THE DRIVE (OR SOME OTHER ERROR)
#
}
# end random perl code
I am using a highly modified ripit-1.5 distribution to extract the tracks
and queue jobs. The package is available from:
http://apps.freshmeat.net/homepage/919208183/
It's perl code and is probably a good starting point for what you're
looking at doing. We basically use a wrapper script that detects when a
CD is present in the drive and starts the ripping process. The CD is
ejected when it is done, so we know things are finished and can drop
another in.
Hope that's helpful,
Rob
---
Rob Ross
Parallel Architecture Research Lab, Clemson University
On Tue, 21 Sep 1999, Nathan Heagy wrote:
> I am trying to setup a dedicated cd ripping machine that will have 3-7
> SCSI CD drives. The computer will be a pentium 2 233 that will do nothing
> but rip the tracks, and the files will be picked up by other networked
> computers for some sort of distributed encoding (this is to be worked out
> later).
>
> I read on the paranoia web site that there are some possible problems
> running more that one instance of cd paranoia at a time. What do I need to
> know? I have not purchased the CD drives yet, so if this is a concern
> please let me know. Also, to make things more compliacted, I will only be
> ripping 20-30 seconds of each track on every CD. As it seems this cannot
> be done by paranoia in one single command line, I will be writing a very
> simple perl script that launches a seperate instance of cd paranoia for
> each track. I will try to have this queued by perl itself (any suggestions
> on how to know when the ripping on one drive is done?).
>
> Thanks for any help,
>
> - Nathan Heagy -
--- >8 ----
List archives: http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send a message to 'paranoia-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Paranoia
mailing list