Patrick Barron пре 1 година
родитељ
комит
5d3acd43e9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Jellyfin.LiveTv/Guide/GuideManager.cs

+ 1 - 1
src/Jellyfin.LiveTv/Guide/GuideManager.cs

@@ -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);