diff options
| author | SenorSmartyPants <senorsmartypants@gmail.com> | 2022-12-11 14:12:23 -0600 |
|---|---|---|
| committer | SenorSmartyPants <senorsmartypants@gmail.com> | 2024-11-14 17:09:53 -0600 |
| commit | c46dff16ccceffcc67fbcc505790867d4c454a6e (patch) | |
| tree | 4feb0180254c24d6c2c68e97dd713e1af301cf33 | |
| parent | 53683809d94cae373882d59e8b6761c517e0af1d (diff) | |
Set IsLive
| -rw-r--r-- | src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs b/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs index 7dc30f7275..88ec0b14e6 100644 --- a/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs +++ b/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs @@ -170,6 +170,7 @@ namespace Jellyfin.LiveTv.Listings IsSeries = program.Episode.Episode is not null, IsRepeat = program.IsPreviouslyShown && !program.IsNew, IsPremiere = program.Premiere is not null, + IsLive = program.IsLive, IsKids = programCategories.Any(c => info.KidsCategories.Contains(c, StringComparison.OrdinalIgnoreCase)), IsMovie = programCategories.Any(c => info.MovieCategories.Contains(c, StringComparison.OrdinalIgnoreCase)), IsNews = programCategories.Any(c => info.NewsCategories.Contains(c, StringComparison.OrdinalIgnoreCase)), |
