mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #12398 from bpauquette/patch-5
Update XmlTvListingsProvider.cs to fix the record series button missing on many programs
This commit is contained in:
commit
567adb8caa
@ -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 = program.Episode.Series 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)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user