LinHES Forums
http://forum.linhes.org/

DVD will not eject in new version but eject from prompt
http://forum.linhes.org/viewtopic.php?f=11&t=13511
Page 1 of 1

Author:  sinspot1 [ Sun Jan 14, 2007 3:08 pm ]
Post subject:  DVD will not eject in new version but eject from prompt

I have been able to use the eject button on my DVD drive but after the update to the newest version of KM it doesn't work. The button from the menu doesn't work either. If I drop out of a prompt and type in eject it works. Which is what it looks like it is doing when you look at the eject.xml file. It is dong a EXEC sudo eject -r. I am using Xine as my player.

Anyone have any thoughts?

Author:  Martin1802 [ Tue Feb 20, 2007 3:03 am ]
Post subject:  error in MythMenu ...

Hi ...

I had the same problem after upgrading from older version ... searching around in forum found some tips and combinded how to solve ...

There's an error in menu (I'm using Titivillus theme) ... edit the file "/usr/share/mythtv/optical_menu.xml" with nano / pico / vi ... at the end there are some lines starting like that ...

Code:
 
<button>
  <type>EJECT</type>
  <text>Eject media</text>
  <text lang="DE">CD/DVD auswerfen</text>
  <text lang="SV">Mata ut</text>
  <text lang="ES">Expulsar medios</text>
  <action>EXEC eject -T</action>                                                     
</button>       


... the line starting with <action> contains only EJECT ... change it like seen above and eject will work :-) ... the option -T works as a switch for if tray is open it will be closed ... if it is closed it will be opened ...

This what I'm missing in the past ... I think you have to test it because some drives do not work with -T option, then you have to leave it away.

see "man eject" for details ...

Good luck
Martin

Author:  nigelpearson [ Tue Feb 20, 2007 4:11 am ]
Post subject:  Re: DVD will not eject in new version but eject from prompt

sinspot1 wrote:
I have been able to use the eject button on my DVD drive but after the update to the newest version of KM it doesn't work.

What errors are there in ~mythtv/.xsession-errors ?

Was there a disk in the drive when the MythTV frontend started? There is a bug in MythTV which doesn't cope with this situation. It is to do with mounting a disk that is already mounted, and will be revealed by an error from pmount.

Author:  sinspot1 [ Tue Feb 20, 2007 10:21 pm ]
Post subject: 

I figured it out. I was getting on my diskless front end. I edited the menu and put the path to the eject command in and now it works fine.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/