I want to build my own version of a Ripserver, which is a headless box for ripping CDs and DVDs; you stick the CD / DVD in, it rips it and ejects the disc when done.

So my question is, anyone know of a set of scripts / programs that would allow me to do this? I know apps I would use to do this manually, but to automatically detect the disc type and rip MP3s / Oggs / Avis as appropriate - I'm not sure of what I'd use.

And then I guess it would need to be able to place the files in a directory structure appropriate to what it just ripped.

Any one got any ideas?