On 1/5/06, <b class="gmail_sendername"><a href="mailto:sarvinc@fastmail.fm">sarvinc@fastmail.fm</a></b> <<a href="mailto:sarvinc@fastmail.fm">sarvinc@fastmail.fm</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 05 January 2006 23:19, Tom Hines wrote:<br>> Hello. After playing a DVD in MythTV I can't eject it with the eject<br>> button on the drive. I have to get to a shell and type "eject". How<br>
> can I fix this? Thanks.<br>><br>> --<br>> Tom Hines<br>> KnoppMyth<br>> Via Epia M10K<br>> Haupauge 250<br><br>Unfortunately I'm in the process of moving to another state so I can't give<br>the exact process.
<br><br>I have this same problem and just mapped a button to an event that calls<br>irexec to execute the eject program. This should go in your already<br>configured .lirc<br><br>Should look something like this:<br><br>begin
<br> button = RED<br> prog = irexec<br> repeat = 0<br> config = eject<br>end</blockquote><div><br>
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.<br>
<br>
In ~/.mythtv I copied dvdmenu.xml and added this to the end:<br>
<br>
<button><br>
<type>VCD_PLAY</type><br>
<text>Open/Close</text><br>
<action>EXEC /usr/local/bin/cdreload</action><br>
</button><br>
<br>
cdreload is simple:<br>
#! /bin/sh<br>
sudo eject /dev/dvd<br>
<br>
and the user which runs myth has sudo rights to run eject.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Fedor G Pikus (
<a href="mailto:fpikus@gmail.com">fpikus@gmail.com</a>)<br><a href="http://www.pikus.net">http://www.pikus.net</a><br><a href="http://wild-light.com">http://wild-light.com</a>