Browse Source

Update XmlTvListingsProvider.cs

Fixes a bug where certain programs like the "Good Morning America" no longer have the record series button.
grumpycat 10 months ago
parent
commit
a5ae5600ce
1 changed files with 1 additions and 1 deletions
  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)),