mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-13 13:52:16 +01:00
Use collection expression
This commit is contained in:
@@ -233,7 +233,7 @@ public class GuideManager : IGuideManager
|
||||
var existingPrograms = _libraryManager.GetItemList(new InternalItemsQuery
|
||||
{
|
||||
IncludeItemTypes = [BaseItemKind.LiveTvProgram],
|
||||
ChannelIds = new[] { currentChannel.Id },
|
||||
ChannelIds = [currentChannel.Id],
|
||||
DtoOptions = new DtoOptions(true)
|
||||
}).Cast<LiveTvProgram>().ToDictionary(i => i.Id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user