diff --git a/TeslaTunes/CopyConvertDirs.mm b/TeslaTunes/CopyConvertDirs.mm index 85925df..5235b08 100644 --- a/TeslaTunes/CopyConvertDirs.mm +++ b/TeslaTunes/CopyConvertDirs.mm @@ -492,9 +492,9 @@ - (NSURL *) processFileURL:(const NSURL *) file toDestination: destinationFile } outURL = destinationFile; } else { - // NSLog(@"don't know what extension %@ is. Skipping", fileURL.pathExtension); + NSLog(@"don't know what extension \"%@\" is. Skipping", file.pathExtension? file.pathExtension: @""); // save extension to skipped set for stat purposes - [self.skippedExtensions addObject:file.pathExtension]; + [self.skippedExtensions addObject:file.pathExtension? file.pathExtension : @"no extension"]; return nil; } diff --git a/TeslaTunes/flac_utils.mm b/TeslaTunes/flac_utils.mm index 32deb8b..9231baa 100644 --- a/TeslaTunes/flac_utils.mm +++ b/TeslaTunes/flac_utils.mm @@ -116,6 +116,7 @@ auto FlacMetadataFromMP4fileURL(const NSURL *mp4, std::vectorproperties(); //NSLog(@"Properties in Apple Lossless file %s", mp4.fileSystemRepresentation);