In Mythtv, add an eject link to your cd/dvd and optical disk menu…

< button>
DVD_EJECT
Eject DVD
EXEC eject
< /button>

by adding this to optical_menu.xml and dvdmenu.xml