git.ithinksw.org
/
MenuTunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986a1f3
)
Added a "CustomPlayerPath" option for those with Classic iTunes problems.
author
Kent Sutherland
<ksuther@ithinksw.com>
Mon, 9 Feb 2004 02:35:37 +0000
(
02:35
+0000)
committer
Kent Sutherland
<ksuther@ithinksw.com>
Mon, 9 Feb 2004 02:35:37 +0000
(
02:35
+0000)
MainController.m
patch
|
blob
|
history
diff --git
a/MainController.m
b/MainController.m
index
2400f9e
..
0f86024
100755
(executable)
--- 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