From 316e5f91294f0bbe3537cb7935546baa111ddfdc Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Thu, 12 Feb 2004 12:49:52 +0000 Subject: [PATCH] Scripts now run when the player switches to no song playing. --- MainController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainController.m b/MainController.m index 56f568f..bf3bda3 100755 --- a/MainController.m +++ b/MainController.m @@ -330,7 +330,7 @@ static MainController *sharedController; if ( [self songChanged] && (timerUpdating != YES) && (playerRunningState == ITMTRemotePlayerRunning) ) { ITDebugLog(@"The song changed."); - if ([df boolForKey:@"runScripts"] && [[self currentRemote] currentSongTitle]) { + if ([df boolForKey:@"runScripts"]) { NSArray *scripts = [[NSFileManager defaultManager] directoryContentsAtPath:[NSHomeDirectory() stringByAppendingPathComponent:@"Library/Application Support/MenuTunes/Scripts"]]; NSEnumerator *scriptsEnum = [scripts objectEnumerator]; NSString *nextScript; -- 2.20.1