CD insert/eject detection

shandy.b at gmail.com shandy.b at gmail.com
Tue Mar 13 19:34:34 CET 2007


I've never used it myself, but pygame (based on SDL - so it should
work for MS Windows, Linux, and Apple OSX) has a CD module with some
potentially useful functions, CD.eject() and CD.get_empty().

http://www.pygame.org/docs/ref/cdrom.html#pygame.cdrom.CD

-sjbrown

On Mar 13, 7:54 am, "Mark Bryan Yu" <vaf... at gmail.com> wrote:
> Hi,
>
> I'm trying to make a Audio CD ripper using python.
>
> is there a way (library, module, etc) to detect when a CD was inserted
> or ejected?





More information about the Python-list mailing list