I once wrote a small C tool which detected C insertion for a DVD ripper in gtk2. It used a fairly basic ioctl call to detect that the disk had been inserted, I imagine that this can also be done in perl/python. There is lots of documentation on how to do this in C on the net, try searching google for ioctl CD drive detection for instance.
Then its just a matter of detecting whether or not the disk is a DVD which can be done fairly easily with lsdvd. Hope this helps, Karl On Tue, 2005-10-04 at 09:55 -0400, [EMAIL PROTECTED] wrote: > Hello, > > I have a script that converts dvd's into avi's. What I would like to > happen is when the dvd is put in and spins up the script starts ripping in > the background. Does anyone know of a way to accomplish this? > > Thanks, > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Freevo-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freevo-users > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
