On Thursday 05 January 2006 23:19, Tom Hines wrote:
> Hello. After playing a DVD in MythTV I can't eject it with the eject
> button on the drive. I have to get to a shell and type "eject". How
> can I fix this? Thanks.
>
> --
> Tom Hines
> KnoppMyth
> Via Epia M10K
> Haupauge 250
Unfortunately I'm in the process of moving to another state so I can't give
the exact process.
I have this same problem and just mapped a button to an event that calls
irexec to execute the eject program. This should go in your already
configured .lirc
Should look something like this:
begin
button = RED
prog = irexec
repeat = 0
config = eject
end
If it's stuck so bad that the button cannot eject it, you probably won't be able to eject it as ordinary user with elect command either. I have added a menu item which ejects CD and and does it as root using sudo.
In ~/.mythtv I copied dvdmenu.xml and added this to the end:
<button>
<type>VCD_PLAY</type>
<text>Open/Close</text>
<action>EXEC /usr/local/bin/cdreload</action>
</button>
cdreload is simple:
#! /bin/sh
sudo eject /dev/dvd
and the user which runs myth has sudo rights to run eject.
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
--
Fedor G Pikus ( [EMAIL PROTECTED])
http://www.pikus.net
http://wild-light.com
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
