From 7494f04511e2d519d29e093449c1b57decbf5cad Mon Sep 17 00:00:00 2001 From: vspader Date: Sun, 14 Oct 2007 20:36:10 +0000 Subject: [PATCH] Added fix where containers were not checked for uniqueness. --- Playlist/PlaylistLoader.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Playlist/PlaylistLoader.m b/Playlist/PlaylistLoader.m index 7f4c99a9f..8ac241ce0 100755 --- a/Playlist/PlaylistLoader.m +++ b/Playlist/PlaylistLoader.m @@ -198,6 +198,9 @@ if ([[self acceptableContainerTypes] containsObject:[[[url path] pathExtension] lowercaseString]]) { if ([url isFileURL] ) { [allURLs addObjectsFromArray:[AudioContainer urlsForContainerURL:url]]; + + //Make sure the container isn't added twice. + [uniqueURLs addObject:url]; } } else