[mythtv-users] How to eject DVD ?

kedlm at charter.net kedlm at charter.net
Fri Mar 25 22:26:48 UTC 2005


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: <kedlm at charter.net>
> Date: 2005/03/25 Fri PM 05:17:27 EST
> To: Discussion about mythtv <mythtv-users at mythtv.org>
> 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" <dave at theansells.com>
> > Date: 2005/03/25 Fri AM 10:47:24 EST
> > To: <mythtv-users at mythtv.org>
> > 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
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > 
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 




More information about the mythtv-users mailing list