aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2024-01-17 12:10:42 -0500
committerPatrick Barron <barronpm@gmail.com>2024-01-17 12:10:42 -0500
commit5d3acd43e9aeaf8e050a8c917192d8288725804d (patch)
tree3130a10ae1b92f5176ba7b6643cf67337a3317c6 /src
parent502cbe77b2658cbca1a9f25d5e5e78ad4cd63eab (diff)
Use collection expression
Diffstat (limited to 'src')
-rw-r--r--src/Jellyfin.LiveTv/Guide/GuideManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jellyfin.LiveTv/Guide/GuideManager.cs b/src/Jellyfin.LiveTv/Guide/GuideManager.cs
index 18831aa4e..f157af5ea 100644
--- a/src/Jellyfin.LiveTv/Guide/GuideManager.cs
+++ b/src/Jellyfin.LiveTv/Guide/GuideManager.cs
@@ -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);