mirror of https://github.com/jellyfin/jellyfin.git
Merge branch 'master' of https://github.com/danieladov/jellyfin
This commit is contained in:
commit
8883aa4a37
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue