[mythtv-commits] Ticket #1773: mythmediamonitor does register the same device twice

MythTV mythtv at cvs.mythtv.org
Thu May 4 16:36:46 EDT 2006


#1773: mythmediamonitor does register the same device twice
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr
     Type:  defect     |      Status:  new
 Priority:  minor      |   Milestone:     
Component:  mythtv     |     Version:     
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 Since the mythmediamonitor now also looks in /sys/block, my cdrom device
 was added
 to the pool of removable devices twice. Once from the fstab entry and once
 as a result
 from the /sys/block scan. This led to strange behaviour. Mostly that I had
 to quit
 watching a dvd twice before I got back to the menu.
 Since the the stat.st_rdev value is pretty unique to a device AFAIK, I
 wrote a patch
 to detect (and prevent) adding the same device twice based on the rdev
 value.

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


More information about the mythtv-commits mailing list