Skip to content

Commit

Permalink
Don't scan mounted disk image.
Browse files Browse the repository at this point in the history
In 10.11 at least, a mounted Time Capsule volume is of type " Disk Image" when it used to be "Apple Disk Image". Scanning of such volume can take an extremely long time, which would cause hang when quitting as the MediaManager is waiting on the scan to complete before quitting
  • Loading branch information
jyavenard committed Jan 30, 2016
1 parent c82d65d commit 085280c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmyth/mediamonitor-darwin.cpp
Expand Up @@ -306,9 +306,9 @@ void diskAppearedCallback(DADiskRef disk, void *context)
return;
}

model = getModel(details);
model = getModel(details);

if (model.contains("Apple Disk Image"))
if (model.contains("Disk Image"))
{
LOG(VB_MEDIA, LOG_INFO, msg + QString("DMG %1 mounted, ignoring")
.arg(BSDname));
Expand Down

0 comments on commit 085280c

Please sign in to comment.