From 40f0450343607e253ce2b506c21b2914048bb80e Mon Sep 17 00:00:00 2001 From: vspader Date: Fri, 12 Oct 2007 01:15:11 +0000 Subject: [PATCH] Cue sheets now use index 01. --- Plugins/CueSheet/CueSheet.m | 4 +++- Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Plugins/CueSheet/CueSheet.m b/Plugins/CueSheet/CueSheet.m index 1229c1848..873096a80 100644 --- a/Plugins/CueSheet/CueSheet.m +++ b/Plugins/CueSheet/CueSheet.m @@ -108,9 +108,11 @@ } NSString *index = nil; - if (![scanner scanUpToCharactersFromSet:whitespace intoString:&index]) { + if (![scanner scanUpToCharactersFromSet:whitespace intoString:&index] || [index intValue] != 1) { continue; } + + NSLog(@"Index: %@", index); [scanner scanCharactersFromSet:whitespace intoString:nil]; diff --git a/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj b/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj index 67af0f649..9d09ef9a0 100644 --- a/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj +++ b/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj @@ -257,6 +257,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SYMROOT = ../../build; }; name = Debug; }; @@ -267,6 +268,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SYMROOT = ../../build; }; name = Release; };