Various fixes.
This commit is contained in:
1 parent
4e5df21f8a
commit
bad1e46c6b
5 files changed
+7
-4
No files matched your search
@@ -315,7 +315,7 @@ static NSDictionary *_detailMonospacedAttr;
|
||||
IOPMAssertionID assertionID;
|
||||
// Enable sleep assertion
|
||||
CFStringRef reasonForActivity= CFSTR("Subler Save Operation");
|
||||
IOReturn io_success = IOPMAssertionCreateWithName(kIOPMAssertionTypeNoIdleSleep,
|
||||
IOReturn io_success = IOPMAssertionCreateWithName(kIOPMAssertPreventUserIdleSystemSleep,
|
||||
kIOPMAssertionLevelOn, reasonForActivity, &assertionID);
|
||||
BOOL result = NO;
|
||||
|
||||
|
||||
@@ -362,7 +362,7 @@
|
||||
|
||||
language = movieLanguage.selectedItem.title;
|
||||
|
||||
} else if (self.selectedResult.mediaKind == 10) {
|
||||
} else /*if (self.selectedResult.mediaKind == 10)*/ {
|
||||
[self startProgressReportWithString:NSLocalizedString(@"Downloading additional TV metadata…", nil)];
|
||||
self.currentSearcher = [SBMetadataImporter importerForProvider:tvMetadataProvider.selectedItem.title];
|
||||
|
||||
|
||||
+1
-1
@@ -208,7 +208,7 @@ NSString *SBQueueCancelledNotification = @"SBQueueCancelledNotification";
|
||||
|
||||
- (void)disableSleep {
|
||||
CFStringRef reasonForActivity= CFSTR("Subler Queue Started");
|
||||
_io_success = IOPMAssertionCreateWithName(kIOPMAssertionTypeNoIdleSleep,
|
||||
_io_success = IOPMAssertionCreateWithName(kIOPMAssertPreventUserIdleSystemSleep,
|
||||
kIOPMAssertionLevelOn, reasonForActivity, &_assertionID);
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
[self.progressBar setHidden:YES];
|
||||
|
||||
// Load a generic movie icon to display in the table view
|
||||
_docImg = [[NSWorkspace sharedWorkspace] iconForFileType:@"public.movie"];
|
||||
_docImg = [[NSWorkspace sharedWorkspace] iconForFileType:@"mov"];
|
||||
_docImg.size = NSMakeSize(16, 16);
|
||||
|
||||
// Drag & Drop
|
||||
|
||||
@@ -723,6 +723,9 @@
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0900;
|
||||
TargetAttributes = {
|
||||
8D15AC270486D014006FF6A4 = {
|
||||
ProvisioningStyle = Automatic;
|
||||
};
|
||||
A95B8DA31B09F37700F2F152 = {
|
||||
CreatedOnToolsVersion = 6.3.1;
|
||||
TestTargetID = 8D15AC270486D014006FF6A4;
|
||||
|
||||
Reference in new issue
Block a user