mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
Fix warnings
This commit is contained in:
parent
a23920e2ad
commit
90fa1149fa
|
@ -118,15 +118,16 @@ namespace Emby.Server.Implementations.TV
|
||||||
}
|
}
|
||||||
|
|
||||||
var items = _libraryManager
|
var items = _libraryManager
|
||||||
.GetItemList(new InternalItemsQuery(user)
|
.GetItemList(
|
||||||
{
|
new InternalItemsQuery(user)
|
||||||
IncludeItemTypes = new[] {typeof(Episode).Name},
|
{
|
||||||
OrderBy = new[] {new ValueTuple<string, SortOrder>(ItemSortBy.DatePlayed, SortOrder.Descending)},
|
IncludeItemTypes = new[] { typeof(Episode).Name },
|
||||||
SeriesPresentationUniqueKey = presentationUniqueKey,
|
OrderBy = new[] { new ValueTuple<string, SortOrder>(ItemSortBy.DatePlayed, SortOrder.Descending) },
|
||||||
Limit = limit,
|
SeriesPresentationUniqueKey = presentationUniqueKey,
|
||||||
DtoOptions = new DtoOptions {Fields = new ItemFields[] {ItemFields.SeriesPresentationUniqueKey}, EnableImages = false},
|
Limit = limit,
|
||||||
GroupBySeriesPresentationUniqueKey = true
|
DtoOptions = new DtoOptions { Fields = new[] { ItemFields.SeriesPresentationUniqueKey }, EnableImages = false },
|
||||||
}, parentsFolders.ToList())
|
GroupBySeriesPresentationUniqueKey = true
|
||||||
|
}, parentsFolders.ToList())
|
||||||
.Cast<Episode>()
|
.Cast<Episode>()
|
||||||
.Where(episode => !string.IsNullOrEmpty(episode.SeriesPresentationUniqueKey))
|
.Where(episode => !string.IsNullOrEmpty(episode.SeriesPresentationUniqueKey))
|
||||||
.Select(GetUniqueSeriesKey);
|
.Select(GetUniqueSeriesKey);
|
||||||
|
|
Loading…
Reference in a new issue