浏览代码

Update XmlTvListingsProvider.cs

Fixes a bug where certain programs like the "Good Morning America" no longer have the record series button.
grumpycat 10 月之前
父节点
当前提交
a5ae5600ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs

+ 1 - 1
src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs

@@ -167,7 +167,7 @@ namespace Jellyfin.LiveTv.Listings
                 Overview = program.Description,
                 ProductionYear = program.CopyrightDate?.Year,
                 SeasonNumber = program.Episode.Series,
-                IsSeries = program.Episode.Series is not null,
+                IsSeries = EpisodeNumber is not null,
                 IsRepeat = program.IsPreviouslyShown && !program.IsNew,
                 IsPremiere = program.Premiere is not null,
                 IsKids = programCategories.Any(c => info.KidsCategories.Contains(c, StringComparison.OrdinalIgnoreCase)),