Opened 14 years ago
Closed 11 years ago
#10450 closed Bug Report - General (Fixed)
Media Monitor not detecting type of media
| Reported by: | Nigel | Owned by: | Nigel |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | Unspecified |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
% ./mythfrontend -v media ... 2012-03-14 21:14:22.124558 I diskAppearedCallback() - No volume name for dev disk1s1 2012-03-14 21:14:22.158941 I Found disk disk1s2 - volume name 'Attache_1.015'. 2012-03-14 21:14:22.159013 I MythHDD::MythHDD disk1s2 2012-03-14 21:14:22.244019 I Disk inserted on a supermount device 2012-03-14 21:14:22.244134 N No files with extensions found in '/Volumes/Attache_1.015' 2012-03-14 21:14:22.244139 I Detected MediaType MEDIATYPE_DATA
where there are lots of .png files under /Volumes/Attache_1.015.
Change History (4)
comment:1 by , 14 years ago
| Status: | new → assigned |
|---|
comment:2 by , 14 years ago
Ensure mount is available before MythMediaDevice::ScanMediaType(). Refs #10450
Seems to only be a problem on Mac OS X, so I put this here, instead of MythMediaDevice::ScanMediaType().
sleep()ing is a bit of a hack, but should be harmless. Not sure when this started acting up - maybe 10.6?
Branch: master Changeset: 3cb4b6a3b44c8e6b0906d926c6dc992339064d96
comment:4 by , 11 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |
This is a very old ticket and there have been some changes to the media monitor recently so I'm going to assume this is fixed.
Note:
See TracTickets
for help on using tickets.

MythMediaDevice::ScanMediaType() returns false if the mount is not available. It looks like there is some threading issue - delaying a while with sleep(1) makes it recurse and count file extensions.