Re: [gnome-devel] Re: Autodetect CD

If there isn't a method to do this, how are media players such as XMMS able to accomplish somthing similar? They don't seem to be running in the background so they can't be resorting to polling the CD. Any ideas how they are able to do this?

Sean Middleditch wrote:

On Sat, 2004-05-22 at 21:17 -0400, Reginald Johnson wrote:
I'm trying to make my autodetect CD insertions. I'm using C, GTK, and Gnome on a Fedora system, but I don't think the distribution should matter in this instance. What signal do I have to capture from Gnome to tell my app to check to see if a new CD has been inserted in the drive?

There is no current such mechanism, unfortunately.  In the future,
gnome-volume-manager may provide this information.  It does automatic
mounting and such (for systems with HAL).  See the Project Utopia list
(utopia-list gnome org).

Or is there another technique I should be using?
   Thanks in advance.

Reginald Johnson
gnome-devel-list mailing list
gnome-devel-list gnome org

gnome-devel-list mailing list
gnome-devel-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]