[mythtv-commits] Ticket #4022: MythArchive fails to eject the DVD drive after burn, then fails
MythTV
mythtv at cvs.mythtv.org
Sun Oct 14 11:16:29 UTC 2007
#4022: MythArchive fails to eject the DVD drive after burn, then fails
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: paulh
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: mytharchive | Version: 0.20-fixes
Severity: medium | Resolution: worksforme
Mlocked: 0 |
-------------------------+--------------------------------------------------
Changes (by paulh):
* status: new => closed
* resolution: => worksforme
Comment:
Not sure why it's not working for you it could be that something is
locking the tray which is why it can't be ejected. Are you using something
that polls your cdrom drives looking for a disk that is locking the drive
tray?
You could try adding a call to unlock the tray like this before the
CDROMEJECT call
{{{
ioctl(f, CDROM_LOCKDOOR, 0)
}}}
you'll have to also add at the top of the script
{{{
from CDROM import CDROM_LOCKDOOR
}}}
or just replace that code with a call to the 'eject' command line tool.
I'm going to mark this as worksforme as I believe this is a setup issue
not a problem with the script.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4022#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list