[mythtv-commits] Ticket #601: Support hotpluggable disc drives in MediaMonitor

MythTV mythtv at cvs.mythtv.org
Mon Nov 7 03:53:41 EST 2005


#601: Support hotpluggable disc drives in MediaMonitor
-------------------------------------------------------+--------------------
 Reporter:  Aaron McCarthy <mccarthy.aaron at gmail.com>  |       Owner:  ijr 
     Type:  enhancement                                |      Status:  new 
 Priority:  minor                                      |   Milestone:      
Component:  mythtv                                     |     Version:  head
 Severity:  medium                                     |  
-------------------------------------------------------+--------------------
This patch implements support for hotplugging removable disc drives in
 MediaMonitor.  A new MythMediaDevice subclass implements a generic hard
 disc device.  In addition it supports mounting and unmounting via pmount
 if it is available.  If you use pmount you don't need to explicitly define
 mount points in /etc/fstab.  Make sure the user running mythfrontend is a
 member of the plugdev or equivalent group.

 To get hotplug message you will need to (or whatever your distribution
 does, this is for Debian)

 install contrib/mythtv.rules into /etc/udev/
 create a link in /etc/udev/rules.d to the newly install
 /etc/udev/mythtv.rules
 install contrib/mythtv_media_monitor.sh into /etc/udev/scripts/

 This requires udev version 0.71.

 There is also a new global keybinding called 'EJECT' that will eject
 devices.  If you have only one device (known to the MediaMonitor) it will
 be unmounted and ejected.  If you have more than one a dialog box will
 popup so you can select the device to eject.  You can use this to safely
 remove USB sticks etc.

 This code is related to my code to get MythGallery to access my digital
 camera, I will submit that patch soon.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/601>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list