diff options
| author | grumpycat <bryan.pauquette@gmail.com> | 2024-08-05 18:34:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 18:34:54 -0400 |
| commit | a5ae5600cedca1aa22491a05c235189219dd2a17 (patch) | |
| tree | 9e4f1f4b42fb6a0f8c009b80f498cc568a19061d | |
| parent | 82ad4b9235b6d39247ee32e182957a57af2c01da (diff) | |
Update XmlTvListingsProvider.cs
Fixes a bug where certain programs like the "Good Morning America" no longer have the record series button.
| -rw-r--r-- | src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs b/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs index cecc363f0..1d37f77aa 100644 --- a/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs +++ b/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)), |
