|
|
@ -347,7 +347,6 @@ namespace Emby.Server.Implementations.Collections
|
|
|
|
var alreadyInResults = false;
|
|
|
|
var alreadyInResults = false;
|
|
|
|
foreach (var child in item.GetMediaSources(true))
|
|
|
|
foreach (var child in item.GetMediaSources(true))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
if (Guid.TryParse(child.Id, out var id) && results.ContainsKey(id))
|
|
|
|
if (Guid.TryParse(child.Id, out var id) && results.ContainsKey(id))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
alreadyInResults = true;
|
|
|
|
alreadyInResults = true;
|
|
|
@ -357,7 +356,6 @@ namespace Emby.Server.Implementations.Collections
|
|
|
|
|
|
|
|
|
|
|
|
if (!alreadyInResults)
|
|
|
|
if (!alreadyInResults)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
results[item.Id] = item;
|
|
|
|
results[item.Id] = item;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|