< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.LiveTv.ProgramInfo
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/LiveTv/ProgramInfo.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 225
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 1/23/2026 - 12:11:06 AM Line coverage: 100% (4/4) Total lines: 2274/19/2026 - 12:14:27 AM Line coverage: 100% (4/4) Total lines: 225

Coverage delta

Coverage delta 1 -1

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/LiveTv/ProgramInfo.cs

#LineLine coverage
 1#pragma warning disable CS1591
 2
 3using System;
 4using System.Collections.Generic;
 5using MediaBrowser.Model.LiveTv;
 6
 7namespace MediaBrowser.Controller.LiveTv
 8{
 9    public class ProgramInfo
 10    {
 11        public ProgramInfo()
 12        {
 413            Genres = [];
 14
 415            ProviderIds = new Dictionary<string, string?>(StringComparer.OrdinalIgnoreCase);
 416            SeriesProviderIds = new Dictionary<string, string?>(StringComparer.OrdinalIgnoreCase);
 417        }
 18
 19        /// <summary>
 20        /// Gets or sets the id of the program.
 21        /// </summary>
 22        public string? Id { get; set; }
 23
 24        /// <summary>
 25        /// Gets or sets the channel identifier.
 26        /// </summary>
 27        /// <value>The channel identifier.</value>
 28        public string? ChannelId { get; set; }
 29
 30        /// <summary>
 31        /// Gets or sets the name of the program.
 32        /// </summary>
 33        public string? Name { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the official rating.
 37        /// </summary>
 38        /// <value>The official rating.</value>
 39        public string? OfficialRating { get; set; }
 40
 41        /// <summary>
 42        /// Gets or sets the overview.
 43        /// </summary>
 44        /// <value>The overview.</value>
 45        public string? Overview { get; set; }
 46
 47        /// <summary>
 48        /// Gets or sets the short overview.
 49        /// </summary>
 50        /// <value>The short overview.</value>
 51        public string? ShortOverview { get; set; }
 52
 53        /// <summary>
 54        /// Gets or sets the start date of the program, in UTC.
 55        /// </summary>
 56        public DateTime StartDate { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets the end date of the program, in UTC.
 60        /// </summary>
 61        public DateTime EndDate { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets the genre of the program.
 65        /// </summary>
 66        public List<string> Genres { get; set; }
 67
 68        /// <summary>
 69        /// Gets or sets the original air date.
 70        /// </summary>
 71        /// <value>The original air date.</value>
 72        public DateTime? OriginalAirDate { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets a value indicating whether this instance is hd.
 76        /// </summary>
 77        /// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
 78        public bool? IsHD { get; set; }
 79
 80        /// <summary>
 81        /// Gets or sets a value indicating whether this instance is 3d.
 82        /// </summary>
 83        public bool? Is3D { get; set; }
 84
 85        /// <summary>
 86        /// Gets or sets the audio.
 87        /// </summary>
 88        /// <value>The audio.</value>
 89        public ProgramAudio? Audio { get; set; }
 90
 91        /// <summary>
 92        /// Gets or sets the community rating.
 93        /// </summary>
 94        /// <value>The community rating.</value>
 95        public float? CommunityRating { get; set; }
 96
 97        /// <summary>
 98        /// Gets or sets a value indicating whether this instance is repeat.
 99        /// </summary>
 100        /// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
 101        public bool IsRepeat { get; set; }
 102
 103        public bool IsSubjectToBlackout { get; set; }
 104
 105        /// <summary>
 106        /// Gets or sets the episode title.
 107        /// </summary>
 108        /// <value>The episode title.</value>
 109        public string? EpisodeTitle { get; set; }
 110
 111        /// <summary>
 112        /// Gets or sets the image path if it can be accessed directly from the file system.
 113        /// </summary>
 114        /// <value>The image path.</value>
 115        public string? ImagePath { get; set; }
 116
 117        /// <summary>
 118        /// Gets or sets the image url if it can be downloaded.
 119        /// </summary>
 120        /// <value>The image URL.</value>
 121        public string? ImageUrl { get; set; }
 122
 123        public string? ThumbImageUrl { get; set; }
 124
 125        public string? LogoImageUrl { get; set; }
 126
 127        public string? BackdropImageUrl { get; set; }
 128
 129        /// <summary>
 130        /// Gets or sets a value indicating whether this instance has image.
 131        /// </summary>
 132        /// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</v
 133        public bool? HasImage { get; set; }
 134
 135        /// <summary>
 136        /// Gets or sets a value indicating whether this instance is movie.
 137        /// </summary>
 138        /// <value><c>true</c> if this instance is movie; otherwise, <c>false</c>.</value>
 139        public bool IsMovie { get; set; }
 140
 141        /// <summary>
 142        /// Gets or sets a value indicating whether this instance is sports.
 143        /// </summary>
 144        /// <value><c>true</c> if this instance is sports; otherwise, <c>false</c>.</value>
 145        public bool IsSports { get; set; }
 146
 147        /// <summary>
 148        /// Gets or sets a value indicating whether this instance is series.
 149        /// </summary>
 150        /// <value><c>true</c> if this instance is series; otherwise, <c>false</c>.</value>
 151        public bool IsSeries { get; set; }
 152
 153        /// <summary>
 154        /// Gets or sets a value indicating whether this instance is live.
 155        /// </summary>
 156        /// <value><c>true</c> if this instance is live; otherwise, <c>false</c>.</value>
 157        public bool IsLive { get; set; }
 158
 159        /// <summary>
 160        /// Gets or sets a value indicating whether this instance is news.
 161        /// </summary>
 162        /// <value><c>true</c> if this instance is news; otherwise, <c>false</c>.</value>
 163        public bool IsNews { get; set; }
 164
 165        /// <summary>
 166        /// Gets or sets a value indicating whether this instance is kids.
 167        /// </summary>
 168        /// <value><c>true</c> if this instance is kids; otherwise, <c>false</c>.</value>
 169        public bool IsKids { get; set; }
 170
 171        public bool IsEducational { get; set; }
 172
 173        /// <summary>
 174        /// Gets or sets a value indicating whether this instance is premiere.
 175        /// </summary>
 176        /// <value><c>true</c> if this instance is premiere; otherwise, <c>false</c>.</value>
 177        public bool IsPremiere { get; set; }
 178
 179        /// <summary>
 180        /// Gets or sets the production year.
 181        /// </summary>
 182        /// <value>The production year.</value>
 183        public int? ProductionYear { get; set; }
 184
 185        /// <summary>
 186        /// Gets or sets the home page URL.
 187        /// </summary>
 188        /// <value>The home page URL.</value>
 189        public string? HomePageUrl { get; set; }
 190
 191        /// <summary>
 192        /// Gets or sets the series identifier.
 193        /// </summary>
 194        /// <value>The series identifier.</value>
 195        public string? SeriesId { get; set; }
 196
 197        /// <summary>
 198        /// Gets or sets the show identifier.
 199        /// </summary>
 200        /// <value>The show identifier.</value>
 201        public string? ShowId { get; set; }
 202
 203        /// <summary>
 204        /// Gets or sets the season number.
 205        /// </summary>
 206        /// <value>The season number.</value>
 207        public int? SeasonNumber { get; set; }
 208
 209        /// <summary>
 210        /// Gets or sets the episode number.
 211        /// </summary>
 212        /// <value>The episode number.</value>
 213        public int? EpisodeNumber { get; set; }
 214
 215        /// <summary>
 216        /// Gets or sets the etag.
 217        /// </summary>
 218        /// <value>The etag.</value>
 219        public string? Etag { get; set; }
 220
 221        public Dictionary<string, string?> ProviderIds { get; set; }
 222
 223        public Dictionary<string, string?> SeriesProviderIds { get; set; }
 224    }
 225}

Methods/Properties

.ctor()