Opened 13 years ago

Closed 9 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 Changed 13 years ago by Nigel

Status: newassigned

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.

comment:2 Changed 13 years ago by Github

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:3 Changed 13 years ago by Mario Limonciello <Mario_Limonciello@…>

In 47bed8ed5e6ee58876df6b04cda84a853b257f48/packaging:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:4 Changed 9 years ago by paulh

Resolution: Fixed
Status: assignedclosed

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.