EricLathrop.com
CD Detect & Execute (CDDE)
Description
CDDE is a program that detects when a CD/DVD-ROM drive has a disc inserted. When it finds a disc inserted in the drive it will attempt to determine the type of disc, and execute a specified command. This means a DVD can be inserted and your favorite DVD software will start, or a data CD can be automatically mounted, etc.
Dependencies
At this time CDDE only needs libxml to work. You can get it from http://xmlsoft.org. Note: just because it's a gnome library, it doesn't mean you need gnome or any of the other gnome libraries.
Todo
- Make CDDE use different default files depending if ran as root (/etc/cdde.xml) or normal user (~/.cdde/config)
- Add a compile-time option to use mount() instead of home-brewed ISO9660 code to find magic paths on discs. This will allow for detecting UDF discs, but will require CDDE to be setuid root.
- Learn how to use CVS so I can put this stuff on sourceforge, and have a mailing list.
Download the source
Patches
There are no patches for the current version.