Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
catch new iTunes notifications for faster sync on Yosemite
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Kuijt authored and Johan Kuijt committed Mar 23, 2015
1 parent c23bde1 commit 7139a72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Traktable.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
04D74BC717CB49FE00B135BF /* ITTVShowPoster.m in Sources */ = {isa = PBXBuildFile; fileRef = 04D74BC617CB49FE00B135BF /* ITTVShowPoster.m */; };
04D74BCA17CBA18C00B135BF /* ITSync.m in Sources */ = {isa = PBXBuildFile; fileRef = 04D74BC917CBA18B00B135BF /* ITSync.m */; };
04DA0FE81ABCCD7700B07154 /* OAuth2Client.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0430CB3F1A73DE9900427390 /* OAuth2Client.framework */; };
04DA0FE91ABCCD7700B07154 /* OAuth2Client.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 0430CB3F1A73DE9900427390 /* OAuth2Client.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
04DA0FED1ABF0FEA00B07154 /* OAuth2Client.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 0430CB3F1A73DE9900427390 /* OAuth2Client.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
04FE3AE517D8BBF200497DAD /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04FE3AE417D8BBF200497DAD /* SystemConfiguration.framework */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -172,7 +172,7 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
04DA0FE91ABCCD7700B07154 /* OAuth2Client.framework in CopyFiles */,
04DA0FED1ABF0FEA00B07154 /* OAuth2Client.framework in CopyFiles */,
04D27E8E18B404BD007AD8CD /* FeedbackReporter.framework in CopyFiles */,
04714E8116D2DEC500A308F7 /* Sparkle.framework in CopyFiles */,
048DF20416DFF676004B064A /* Growl.framework in CopyFiles */,
Expand Down
2 changes: 1 addition & 1 deletion Traktable/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification

[[NSDistributedNotificationCenter defaultCenter] addObserver:self selector:@selector(iTunesSourceSaved:) name:@"com.apple.iTunes.sourceSaved" object:@"com.apple.iTunes.sources" suspensionBehavior:NSNotificationSuspensionBehaviorCoalesce];

[[NSDistributedNotificationCenter defaultCenter] addObserver:self selector:@selector(iTunesSourceSaved:) name:@"com.apple.iTunes.sourceInfo" object:@"com.apple.iTunes.sources" suspensionBehavior:NSNotificationSuspensionBehaviorCoalesce];
[[NSDistributedNotificationCenter defaultCenter] addObserver:self selector:@selector(iTunesSourceSaved:) name:@"com.apple.iTunes.libraryChanged" object:@"com.apple.iTunes.sources" suspensionBehavior:NSNotificationSuspensionBehaviorCoalesce];
}

- (IBAction)showLog:(id)sender {
Expand Down

0 comments on commit 7139a72

Please sign in to comment.