From 4ede0106c6259161090d2d868d79218df942669e Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Mon, 9 Feb 2004 02:35:37 +0000 Subject: [PATCH] Added a "CustomPlayerPath" option for those with Classic iTunes problems. --- MainController.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.20.1