Opened 12 years ago

Closed 12 years ago

#3559 closed defect (worksforme)

mythfrontend should use the eject command not myth's eject function

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Mythtv's frontend application uses a build in function eject to eject the media drive. Unfortunetly it looks like there are lots of problems with getting this to work if the system automounts. There are a few different hacks that people have used to get the eject menu item to work. Both involve editing the eject action in /usr/share/mythtv/optical_menu.xml. Some users change the action to EXEC umount /dev/dvd; eject, but most users seem to be changing this to EXEC eject. The system's eject application seems to be a lot more reliable than myth's. Using this line I was able to get the eject menu to work. This is a big deal for those of use with htpc cases that don't have buttons.

from optical_menu.xml

<button>

<type>EJECT</type> <text>Eject media</text> <text lang="SV">Mata ut</text> <text lang="ES">Expulsar medios</text> <text lang="RU">Достать диск</text> <action>EXEC eject</action>

</button>

Change History (1)

comment:1 Changed 12 years ago by Nigel

Resolution: worksforme
Status: newclosed
Type: enhancementdefect

"problems ... if the system automounts" - OK, so turn off, or fix, automount?
Using the Linux eject command is OK in some situations, but it doesn't help much if you have multiple CD/DVD drives, or if you also have USB memory sticks mounted.
If the eject function doesn't work in your situation, then provide the output of running the frontend with -v media, and help us to fix the eject function.

Note: See TracTickets for help on using tickets.