diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-12 22:09:07 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-12 22:09:07 -0400 |
| commit | 6b28eee2dbfbaa4b578f2f1ff3aca7182cc6aedf (patch) | |
| tree | 649a4858a6092840f0f098faf124b41afa8be483 /Emby.Dlna/ContentDirectory/ControlHandler.cs | |
| parent | cf350f3b7e3e82bf7863d426186044e92737ae27 (diff) | |
rework episode queries
Diffstat (limited to 'Emby.Dlna/ContentDirectory/ControlHandler.cs')
| -rw-r--r-- | Emby.Dlna/ContentDirectory/ControlHandler.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Dlna/ContentDirectory/ControlHandler.cs b/Emby.Dlna/ContentDirectory/ControlHandler.cs index 4be2dc945..96b282d04 100644 --- a/Emby.Dlna/ContentDirectory/ControlHandler.cs +++ b/Emby.Dlna/ContentDirectory/ControlHandler.cs @@ -536,8 +536,8 @@ namespace Emby.Dlna.ContentDirectory Limit = limit, StartIndex = startIndex, User = user, - IsMissing = false, - PresetViews = new[] { CollectionType.Movies, CollectionType.TvShows }, + IsVirtualItem = false, + PresetViews = new string[] { }, ExcludeItemTypes = new[] { typeof(Game).Name, typeof(Book).Name }, IsPlaceHolder = false, DtoOptions = GetDtoOptions() @@ -1129,7 +1129,7 @@ namespace Emby.Dlna.ContentDirectory Limit = 50, IncludeItemTypes = new[] { typeof(Episode).Name }, ParentId = parent == null ? null : parent.Id.ToString("N"), - GroupItems = true + GroupItems = false }, query.DtoOptions).Select(i => i.Item1 ?? i.Item2.FirstOrDefault()).Where(i => i != null).ToList(); |
