From 53d5f64e037c13c295d82fcb98b91ef2de8fc842 Mon Sep 17 00:00:00 2001
From: Matt Montgomery <33811686+ConfusedPolarBear@users.noreply.github.com>
Date: Mon, 28 Sep 2020 15:04:31 -0500
Subject: Fix SA1513, SA1514, SA1507, and SA1508
---
MediaBrowser.Model/System/SystemInfo.cs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'MediaBrowser.Model/System')
diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.cs
index 18ca74ee3..4b83fb7e6 100644
--- a/MediaBrowser.Model/System/SystemInfo.cs
+++ b/MediaBrowser.Model/System/SystemInfo.cs
@@ -14,13 +14,16 @@ namespace MediaBrowser.Model.System
{
/// No path to FFmpeg found.
NotFound,
+
/// Path supplied via command line using switch --ffmpeg.
SetByArgument,
+
/// User has supplied path via Transcoding UI page.
Custom,
+
/// FFmpeg tool found on system $PATH.
System
- };
+ }
///
/// Class SystemInfo.
--
cgit v1.2.3
From 7072b4d92633c4728bc7ee55684d43d585e140c9 Mon Sep 17 00:00:00 2001
From: Niels van Velzen
Date: Sun, 11 Oct 2020 17:01:33 +0200
Subject: Make StartupWizardCompleted nullable in PublicSystemInfo
---
MediaBrowser.Model/System/PublicSystemInfo.cs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'MediaBrowser.Model/System')
diff --git a/MediaBrowser.Model/System/PublicSystemInfo.cs b/MediaBrowser.Model/System/PublicSystemInfo.cs
index d2f7556a5..53030843a 100644
--- a/MediaBrowser.Model/System/PublicSystemInfo.cs
+++ b/MediaBrowser.Model/System/PublicSystemInfo.cs
@@ -43,7 +43,10 @@ namespace MediaBrowser.Model.System
///
/// Gets or sets a value indicating whether the startup wizard is completed.
///
- /// The startup completion status.
- public bool StartupWizardCompleted { get; set; }
+ ///
+ /// Nullable for OpenAPI specification only to retain backwards compatibility in apiclients.
+ ///
+ /// The startup completion status.]
+ public bool? StartupWizardCompleted { get; set; }
}
}
--
cgit v1.2.3