git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a "CustomPlayerPath" option for those with Classic iTunes problems.
[MenuTunes.git]
/
MainController.m
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
} 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
ITDebugLog(@"Error Launching Player");
}
NS_HANDLER