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
This commit is contained in:
Bond_009
2023-08-22 18:09:31 +02:00
parent 84643e328d
commit d92e9ae85e
9 changed files with 136 additions and 110 deletions

View File

@@ -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; }
}
}