[mythtv-commits] Ticket #1753: MythMediaMonitor for Darwin and OS X

MythTV mythtv at cvs.mythtv.org
Sun Apr 30 23:36:41 UTC 2006


#1753: MythMediaMonitor for Darwin and OS X
-------------------------+--------------------------------------------------
 Reporter:  nigel        |       Owner:  awk at awkward.org
     Type:  enhancement  |      Status:  new            
 Priority:  minor        |   Milestone:  0.20           
Component:  mythtv       |     Version:  0.19           
 Severity:  medium       |  
-------------------------+--------------------------------------------------
 Darwin's IO is very different to other Unixes. There is no /dev/cdrom or
 /dev/dvd. The operating system creates /dev/disk? when a mountable volume
 is inserted/attached. This makes the drive detection code very different.
 [[BR]]
 Apple has a Disk Arbitration framework that uses a daemon
 (/usr/sbin/diskarbitrationd), and can call user code when a volume is
 inserted/removed/formatted/''et c.'' This is a fairly close match to what
 MythMediaMonitor does.
 [[BR]]
 Please create a darwin-specific MythMediaMonitor class (''e.g.''
 mythmediamonitor-darwin.cpp) which is compiled in place of the existing
 Unix one (I think this is better than subclassing). For extra points,
 modify mythdvd/mtd to use MythMediaMonitor instead of its own device
 polling.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1753>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list