cdde.xml(5) | cdde.xml(5) |
NAME¶
cdde.xml - Configuration file for cddeDESCRIPTION¶
When cdde is run for the first time, an example xml configuration file (~/.cdde.xml) is created for you:<drive path="/dev/cdrom">
<audio command="echo An audio cd was inserted."/>
<data command="echo A data cd was inserted."/>
<dvd command="echo A dvd was inserted."/>
<vcd command="echo A vcd was inserted."/>
<svcd command="echo A svcd was inserted."/>
<blank command="echo A blank cdr/dvdr was inserted."/>
<mixed command="echo A mixed (audio/data) cd was inserted."/>
</drive>
%dev% - is replaced with the device name of the cdrom that
just had a disc inserted
%mnt% - is replaced with the listed mount point for the
cdrom that just had a disc inserted
EXAMPLE¶
This is an example of ~/.cdde.xml file:<drive path="/dev/cdroms/cdrom0"/>
<audio command="xmms %mnt%"/>
<data command="mount %mnt%"/>
<dvd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -dvd 1"/>
<vcd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -vcd 1"/>
<svcd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -vcd 1"/>
<blank command="gcombust"/>
<mixed command="mount %mnt%"/>
</drive>
FILES¶
~/.cdde.xmlSEE ALSO¶
cdde(1)AUTHORS¶
Eric Lathrop <eric@ericlathrop.com>WEBSITE¶
For the latest release of cdde, see:0.3.1 | Eric Lathrop |