This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Stefan Franz <djoimania@t-online.de>
Additions by:				 Peter Dittmann <dilbert@freenet.de>

See the file COPYING for license information.

Description: This is a plugin for a Siemens Activy to control
the CD/DVD-Tray (open/close) but will work on other machines too.

Compile the plugin from the VDR root directoy with "make plugins".
Copy the Plugin from/to the right place , wherever you
store your other Plugins.
Call VDR with ./vdr -Ptrayopen .
If you use a script to start vdr, its a good choice to call the plugin on
last or first position .

Change your keymacros.conf to :

User1 @trayopen

Change your device in SETUP if your default one isnt /dev/cdrom !
Use the physical device that's used to mount all CD/DVD device related
file systems (e.g. ISO, cdfs. udf) if you want the automatic unmount to work

If errors occurs :
Check if you have permission to call "eject"
Check your logger for the right output ( e.g. 'eject /dev/cdrom &' )


-------------------------------------------------------------------------
bye

