From: Kent Sutherland Date: Mon, 9 Feb 2004 02:35:37 +0000 (+0000) Subject: Added a "CustomPlayerPath" option for those with Classic iTunes problems. X-Git-Tag: v1.3~38 X-Git-Url: http://git.ithinksw.org/MenuTunes.git/commitdiff_plain/4ede0106c6259161090d2d868d79218df942669e Added a "CustomPlayerPath" option for those with Classic iTunes problems. --- diff --git a/MainController.m b/MainController.m index 2400f9e..0f86024 100755 --- a/MainController.m +++ b/MainController.m @@ -498,7 +498,12 @@ static MainController *sharedController; } else { ITDebugLog(@"Launching player."); NS_DURING - if (![[NSWorkspace sharedWorkspace] launchApplication:[[self currentRemote] playerFullName]]) { + NSString *path; + if ( (path = [df stringForKey:@"CustomPlayerPath"]) ) { + } else { + path = [[self currentRemote] playerFullName]; + } + if (![[NSWorkspace sharedWorkspace] launchApplication:path]) { ITDebugLog(@"Error Launching Player"); } NS_HANDLER