diff options
| author | JPVenson <github@jpb.email> | 2024-11-12 23:53:05 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-12 23:53:05 +0000 |
| commit | d073e2c664120d04a3ce49a6a636c6fdd7252100 (patch) | |
| tree | dd0b562b8985b6a2085f0b87e7ad08a6b5d48291 /MediaBrowser.Model | |
| parent | 46905ac66aecc400525d106e349ecc1d26237bc0 (diff) | |
Fixed invalid columns on MediaStreams
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Entities/MediaStream.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index 85c1f797b..0102f6f70 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -383,7 +383,7 @@ namespace MediaBrowser.Model.Entities attributes.Add(string.IsNullOrEmpty(LocalizedUndefined) ? "Und" : LocalizedUndefined); } - if (IsHearingImpaired) + if (IsHearingImpaired == true) { attributes.Add(string.IsNullOrEmpty(LocalizedHearingImpaired) ? "Hearing Impaired" : LocalizedHearingImpaired); } @@ -500,7 +500,7 @@ namespace MediaBrowser.Model.Entities /// Gets or sets a value indicating whether this instance is for the hearing impaired. /// </summary> /// <value><c>true</c> if this instance is for the hearing impaired; otherwise, <c>false</c>.</value> - public bool IsHearingImpaired { get; set; } + public bool? IsHearingImpaired { get; set; } /// <summary> /// Gets or sets the height. |
