Selaa lähdekoodia

Update XmlTvListingsProvider.cs

Fix failing test.
grumpycat 10 kuukautta sitten
vanhempi
sitoutus
845ebc5e62
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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,
                 Overview = program.Description,
                 ProductionYear = program.CopyrightDate?.Year,
                 ProductionYear = program.CopyrightDate?.Year,
                 SeasonNumber = program.Episode.Series,
                 SeasonNumber = program.Episode.Series,
-                IsSeries = EpisodeNumber is not null,
+                IsSeries = program.Episode.Episode is not null,
                 IsRepeat = program.IsPreviouslyShown && !program.IsNew,
                 IsRepeat = program.IsPreviouslyShown && !program.IsNew,
                 IsPremiere = program.Premiere is not null,
                 IsPremiere = program.Premiere is not null,
                 IsKids = programCategories.Any(c => info.KidsCategories.Contains(c, StringComparison.OrdinalIgnoreCase)),
                 IsKids = programCategories.Any(c => info.KidsCategories.Contains(c, StringComparison.OrdinalIgnoreCase)),