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; };