I just added:
  <button>
      <type>EJECT</type>
      <text>Eject</text>
      <action>EXEC eject</action>
   </button>

after the "Import CD" button in optical_menu.xml on my machine.
Works like a champ. YMMV

> 
> From: <[EMAIL PROTECTED]>
> Date: 2005/03/25 Fri PM 05:17:27 EST
> To: Discussion about mythtv <[email protected]>
> Subject: Re: [mythtv-users] How to eject DVD ?
> 
> easiest thing is to make a main menu option that issues an "eject" command in 
> the shell
> 
> you could also make the key to do it thru X or your window manager; but 
> making a myth option will just take a few seconds
> 
> > 
> > From: "Dave Ansell" <[EMAIL PROTECTED]>
> > Date: 2005/03/25 Fri AM 10:47:24 EST
> > To: <[email protected]>
> > Subject: [mythtv-users] How to eject DVD ?
> > 
> > Hi,
> > 
> >      My myth frontend is built in a "settop box" PC and there is no 
> > physical 
> > access to the DVD eject button (it is stuck behind the front panel).
> > 
> >      The box does have an eject button which emulates the keypress "ctrl-e".
> > 
> >      Can anyone suggest a way (via Myth or otherwise) of detecting this 
> > keypress and causing an "eject" command to run?    ( Pitty there isnt an 
> > eject button on the myth menu.)
> > 
> >   I am using Xine for DVD playback.  It is OK if there is a DVD in the 
> > drive 
> > to start with as I can map the eject keypress in Xine, but unfortunately if 
> > the DVD starts empty then Xine just exits back to Myth.
> > 
> >    Any ideas?
> > 
> > thx,
> > Dave 
> > 
> > _______________________________________________
> > mythtv-users mailing list
> > [email protected]
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > 
> 
> 
> _______________________________________________
> mythtv-users mailing list
> [email protected]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 


_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to