add stream loop option for m3u

This commit is contained in:
Luke Pulverenti
2017-06-24 14:32:22 -04:00
parent f57dfc6a61
commit 6b2445aa2c
4 changed files with 14 additions and 10 deletions

View File

@@ -4297,12 +4297,9 @@ namespace Emby.Server.Implementations.Data
}
}
if (query.HasDeadParentId.HasValue)
if (query.HasDeadParentId.HasValue && query.HasDeadParentId.Value)
{
if (query.HasDeadParentId.Value)
{
whereClauses.Add("ParentId NOT NULL AND ParentId NOT IN (select guid from TypedBaseItems)");
}
whereClauses.Add("ParentId NOT NULL AND ParentId NOT IN (select guid from TypedBaseItems)");
}
if (query.Years.Length == 1)