CD insert/eject detection

Diez B. Roggisch deets at nospam.web.de
Tue Mar 13 17:58:27 CET 2007


Mark Bryan Yu wrote:

> On Mar 13, 11:07 am, Larry Bates <lba... at websafe.com> wrote:
>> Mark Bryan Yu 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?
>>
>> That is going to be OS dependent, so please share with us
>> what OS you are on?
>>
>> -Larry
> 
> Linux. I guess that means i need to make a C/C++ module extension to
> do such task.

http://www-128.ibm.com/developerworks/linux/library/l-dbus.html

might be a start.

Diez



More information about the Python-list mailing list