mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
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
Block a user