[mythtv-users] Eject button

Brad DerManouelian myth at dermanouelian.com
Thu Apr 12 23:22:35 UTC 2007


On Apr 12, 2007, at 4:14 PM, Yan Seiner wrote:

> Mitch Gore wrote:
>> I am using Myth on Fedora set up with Jarod's guide for some  
>> reason my
>> eject button via the myth menus never worked.  I just changed the  
>> xml to
>>
>> "EXEC eject" from "eject"
>>
>> Now i can open the tray but how can i set it up to close it when i
>> push the button again?
> It should close automagically when it is accessed.
>
> Otherwise, you will have to figure out how to get the state of the  
> drive
> (open or closed) and then issue a 'eject' or 'eject -t' as  
> appropriate.
> eject -t will close most drives.
>
> --Yan

eject -t will close, but eject -T (note the cap T) will toggle open/ 
close on most drives so it's one command for either depending on  
state of the drive.


More information about the mythtv-users mailing list