diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-08-22 18:09:31 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-08-22 18:11:34 +0200 |
| commit | d92e9ae85e41fef981729f544bfd6df2c052a712 (patch) | |
| tree | 9240510786df6f20e4570f6afc67456a15da0f80 /MediaBrowser.Model/Entities/ChapterInfo.cs | |
| parent | 84643e328df6b194eb4de893b8b5e232af5e2a0c (diff) | |
Enable nullable for more files and add tests
Adds basic tests for FFProbeVideoInfo.CreateDummyChapters
Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component
Diffstat (limited to 'MediaBrowser.Model/Entities/ChapterInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Entities/ChapterInfo.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/MediaBrowser.Model/Entities/ChapterInfo.cs b/MediaBrowser.Model/Entities/ChapterInfo.cs index 45554c3dc..d6b905651 100644 --- a/MediaBrowser.Model/Entities/ChapterInfo.cs +++ b/MediaBrowser.Model/Entities/ChapterInfo.cs @@ -1,4 +1,3 @@ -#nullable disable #pragma warning disable CS1591 using System; @@ -20,16 +19,16 @@ namespace MediaBrowser.Model.Entities /// Gets or sets the name. /// </summary> /// <value>The name.</value> - public string Name { get; set; } + public string? Name { get; set; } /// <summary> /// Gets or sets the image path. /// </summary> /// <value>The image path.</value> - public string ImagePath { get; set; } + public string? ImagePath { get; set; } public DateTime ImageDateModified { get; set; } - public string ImageTag { get; set; } + public string? ImageTag { get; set; } } } |
