Opened 18 years ago
Closed 18 years ago
Last modified 18 years ago
#1773 closed defect (fixed)
mythmediamonitor does register the same device twice
Reported by: | anonymous | Owned by: | danielk |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
Changed 18 years ago by
Attachment: | mythmediamonitor.patch added |
---|
comment:1 Changed 18 years ago by
Milestone: | → 0.20 |
---|---|
Owner: | changed from Isaac Richards to danielk |
Version: | → head |
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [9982]) Fixes #1773. Detects some instances of duplicate entries in the Media Monitor.
In particular this patch from "leo+nospam at weppelman.net" checks to see if the rdev value from a new device matches any device the media monitor is already monitoring.