mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Use collection expression
This commit is contained in:
parent
502cbe77b2
commit
5d3acd43e9
@ -233,7 +233,7 @@ public class GuideManager : IGuideManager
|
|||||||
var existingPrograms = _libraryManager.GetItemList(new InternalItemsQuery
|
var existingPrograms = _libraryManager.GetItemList(new InternalItemsQuery
|
||||||
{
|
{
|
||||||
IncludeItemTypes = [BaseItemKind.LiveTvProgram],
|
IncludeItemTypes = [BaseItemKind.LiveTvProgram],
|
||||||
ChannelIds = new[] { currentChannel.Id },
|
ChannelIds = [currentChannel.Id],
|
||||||
DtoOptions = new DtoOptions(true)
|
DtoOptions = new DtoOptions(true)
|
||||||
}).Cast<LiveTvProgram>().ToDictionary(i => i.Id);
|
}).Cast<LiveTvProgram>().ToDictionary(i => i.Id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user