Added fix where containers were not checked for uniqueness.
parent
5084b555cb
commit
7494f04511
|
@ -198,6 +198,9 @@
|
||||||
if ([[self acceptableContainerTypes] containsObject:[[[url path] pathExtension] lowercaseString]]) {
|
if ([[self acceptableContainerTypes] containsObject:[[[url path] pathExtension] lowercaseString]]) {
|
||||||
if ([url isFileURL] ) {
|
if ([url isFileURL] ) {
|
||||||
[allURLs addObjectsFromArray:[AudioContainer urlsForContainerURL:url]];
|
[allURLs addObjectsFromArray:[AudioContainer urlsForContainerURL:url]];
|
||||||
|
|
||||||
|
//Make sure the container isn't added twice.
|
||||||
|
[uniqueURLs addObject:url];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue